5

I tried to install Anaconda3-4.1.1-Linux-x86_64.sh, but after saving files in terminal an error comes saying permission denied. How can I resolve this?

karel
  • 122,292
  • 133
  • 301
  • 332

1 Answers1

7

Downloading and Installing Anaconda (Linux)

  1. Download Anaconda from https://www.continuum.io/downloads.

  2. Run installer script:

    $ bash AnacondaX-x.x.x-Linux-x86[_64].sh

  3. Accept the license (enter shows the license). After reading it, scroll to the end with space. Accept it by typing yes and enter when required.

  4. Specify the install location. (Default is ~/anacondaX, where X is the major version of Python release, e.g. X=3 for Python 3.5)

  5. Add this location to PATH if your installer asks you to. Otherwise, you should add this location on your own to you PATH in ~/.bashrc:

    export PATH="/home/$USER/anacondaX/bin:$PATH"

Uninstalling

Anaconda is installed in a single directory. So, for uninstalling it, just remove the entire directory. Default install location is ~/anacondaX. Removing is easy:

rm -rf ~/anacondaX