Ubuntu – No such file or directory encountered trying to install Anaconda

anacondacommand linegnome

Spoiler: I'm still totally new to Ubuntu/Linux in general;
In order to use GPU-supported tensorflow i tried to install Anaconda on my unix/gnome partition, following the instructions of the site: (https://www.continuum.io/downloads#linux)

(start copy from anaconda-website)

  1. Download the installer
  2. Optional: Verify data integrity with MD5 or SHA-256 More info
  3. In your terminal window type one of the below and follow the instructions:
    Python 3.6 version

bash Anaconda3-4.3.0-Linux-x86_64.sh

(end copy from anaconda website)

Naturally i skipped part 2, opened my cmd, pasted 'bash Anaconda3-4.3.0-Linux-x86_64.sh' in there and hit enter.
It told me: 'bash: Anaconda3-4.3.0-Linux-x86_64.sh: No such file or directory'. Now i am quite confused, sadly could not find the answer around here (probably is somewhere already, but neither googling nor searching stackoverflow gave me the result, probably am just missing the right terms to google it)

My natural guess would be that i have to tell him, where the download is, or possibly im using the wrong commandline (or something with the 'bash' is fishy), but as i said i am quite clueless.

Thank you a lot for your help in advance,
Best regards,

Leon

Best Answer

I got the same error, what worked for me is: Download the Anaconda installer for linux , then change the directory to where you downloaded this installer, for me it was ~/Downloads/ ,

cd ~/Downloads/ 

or

cd /path/to/where_anaconda_installer is downloaded

then run the command

bash Anaconda3-4.3.0-Linux-x86_64.sh 

where Anaconda3-4.3.0-Linux-x86_64.sh is the anaconda file you just downloaded

follow the screen prompts. Once installation is complete you can set the path using

export PATH=~/anaconda3/bin:$PATH

test your installation using

conda --version

conda --list

Hope this helps!

Related Question