Python (Anaconda Installation) [duplicate]
Sebastian Wright
I have downloaded python 2.7 installer. After downloading the installer, I executed the following command in the terminal:/home/najam/Downloads/Anaconda2-4.2.0-Linux-x86_64.sh
The execution resulted in the following error:bash: /home/najam/Downloads/Anaconda2-4.2.0-Linux-x86_64.sh: Permission denied
What am I doing wrong? It'll be much helpful if step-by-step sequence of commands is posted for Anaconda's installation. Thanks.
02 Answers
Change to the installation script directory
cd /home/najam/Downloads/Add execute permissions (this is the part you missed)
sudo chmod +x Anaconda2-4.2.0-Linux-x86_64.shThen install
./Anaconda2-4.2.0-Linux-x86_64.sh 3 I think you should better use bash command because you need to give executable permission to the shell script file.
bash /home/najam/Downloads/Anaconda2-4.2.0-Linux-x86_64.sh 6