Update anaconda and its packages on Ubuntu

Post date: Jul 10, 2015 8:07:43 PM

I have 2 versions of anaconda on my machine:

  • anaconda -- for python 2.7
  • anaconda3 -- for python 3.4

And I want to upgrade the latter one from version 2.0 to 2.3, so rather than the conventional command below (from this cheat sheet)

$ conda update conda
$ conda update anaconda

I have to be more specific by running it from within that specific directory:

# This will update the python packages within the anaconda

~$ ./anaconda3/bin/conda update conda
Fetching package metadata: ....
Solving package specifications: .
Package plan for installation in environment /home/local/ANT/kittipat/anaconda3:
... blah blah blah

# This will upgrade the anaconda version itself

~$ ./anaconda3/bin/conda update anaconda
Fetching package metadata: ....
Solving package specifications: .
Package plan for installation in environment /home/local/ANT/kittipat/anaconda3:
... blah blah blah