1

I have HP 32-bit laptop with ubuntu 16.04 lts OS. I want to install a software which comes with .sh (e.g. abcd.sh). Now I download this file in Download folder, and from terminal I go to this folder first and ran:

$ cd Download
$ ./abcd.sh
bash: ./abcd.sh: Permission denied

Whats wrong with all those commands? How can I execute the file?

1
  • you just need to run bash ./filename.sh
    – Guilherme
    Sep 1, 2019 at 14:01

1 Answer 1

5

You need to make it executable first, run

chmod +x filename.sh

Then

./filename.sh
4
  • You don't need sudo for this.
    – muru
    Aug 4, 2017 at 2:54
  • Verifying archive integrity. Extracting installer. .............. CRITICAL FAILURE: PrintIntroduction() Error $ProductTitle not defined. Installation failed. See /tmp/InstallErrors-8058.
    – Bapi Saha
    Aug 29, 2017 at 16:19
  • but still there is a problem as I stated above, now what is the problem ? @HaithamA.El-Ghareeb
    – Bapi Saha
    Aug 29, 2017 at 16:20
  • Can you specify the software? Are you sure it is the same as your processor architecture? Aug 30, 2017 at 2:16

Not the answer you're looking for? Browse other questions tagged .