Conda is a package and environment management system for Python. To install it on Ubuntu, I used these steps:
Download the bash shell script by clicking on the Download button here. For example, when I did this, I got a
Run the downloaded bash shell script through bash. For example, I did:
$ bash Anaconda3-5.1.0-Linux-x86_64.sh
The bash script asks you for a place to install Anaconda. Typically this is
$HOME/anaconda3. But you can provide it any alternate location you wish. Conda will store the environments you create in an
envs subdirectory inside this base directory.
The bash script asks if you want to add the
bin subdirectory inside the base directory to your
PATH environment variable. You can choose to do this on your own too. In either case, remember to make sure the Conda bin path is appended to
PATH. If it is instead prepended to
PATH, then Conda’s Python interpreter will be invoked as the default one at the shell. Typically, you do not want this behavior. You want Conda’s Python to be used only inside a Conda environment.
After the script is done, restart your shell, so that your
PATH has the Anaconda
Run this command to check if everything is working:
$ conda info
config.fishto be able to use Conda’s environment activate and deactivate commands:
source (conda info --root)/etc/fish/conf.d/conda.fish
I was able to create environments and use Conda after this.
Tried with: Ubuntu 16.04