1

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.

Najam
  • 21

2 Answers2

2

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
wjandrea
  • 14,236
  • 4
  • 48
  • 98
0

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
Steve Han
  • 1
  • 1