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.
2 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.sh
Then install
./Anaconda2-4.2.0-Linux-x86_64.sh
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