Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Anaconda python for all users?

Anaconda python distribution is very convenient to deploy scientific computing env (SCE) and switch python versions as you want. By default, the installation will locate python into ~/anaconda and the SCE can only benefit the local user.

But what I need is to provide a complete SCE wit Anaconda while masking the system-wide python version, because my cluster is running Spark and provides services for multiple users in our team. Is it possible with current Anaconda version?

Xiaming

like image 331
caesar0301 Avatar asked Dec 03 '14 04:12

caesar0301


People also ask

Can I install Anaconda without admin rights?

The first recommended software is to use Anaconda as it comes with the majority of useful handy packages, and it can be installed directly to your working machine in portable mode without requiring administrative right.

Do I need to install Python separately if I install Anaconda?

The answer for you will be No. if you already had anaconda installed in your laptop, once you open it up you will realized you can install Python within the software. Anaconda will not only included Python, R also will be included.


2 Answers

The installer lets you install anywhere. You can install it to a global location, like /opt/anaconda.

like image 103
asmeurer Avatar answered Oct 13 '22 01:10

asmeurer


Add the anaconda PATH to /etc/profile:

for anaconda 2 :

PATH=$PATH:$HOME/anaconda/bin 

for anaconda 3 :

PATH=$PATH:$HOME/anaconda3/bin 

and then :

source /etc/profile 
like image 32
HISI Avatar answered Oct 13 '22 00:10

HISI