I am Charmie

メモとログ

install Anaconda for all users on Ubuntu 14.04

Change the install location from default directory to another directory where all users can access. In my case, : default install directory: /home/oyamada/anaconda2 customized install directory: /opt/anaconda/anaconda2

Add the customized install directory to system path. Add the following line at the end of /etc/profile:

[code lang="bash"] export PATH="$PATH:/opt/anaconda/anaconda2/bin:" [/code]

Assign the write permission of the customized install directory to some account, say YOUR_ACCOUNT, for package manage. At the first time you try to install, update, or modify some python packages, the system show error message like Error: Missing write permissions in: /opt/anaconda/anaconda2 and say execut the following command

[code lang="bash"] conda create -n my_root --clone=/opt/anaconda/anaconda2 [/code]