Enter your email address:

Delivered by FeedBurner

feedburner count

How to install/run .sh file in Linux?

Labels: ,

Sometimes when you download any application on Ubuntu or any other Linux distro, they are .sh files. You double-click on them, nothing happens. And there is no mention to install .sh files in help as well. So how do you install applications with .sh installers/scripts.

There are couple of ways of doing that:

Method 1:

  1. Open Terminal.
  2. Go to the directory you have the file.
  3. Type './filename.sh' and hit Enter.
  4. Or you can type 'bash filename.sh'.
Method 2: (Easiest way)
  1. Right-click on the file.
  2. Go to Properties. And then the 'Permissions' tab.
  3. Check 'Allow executing file as program'. Say OK.
  4. Now double-click on the file the way you open any other file.
  5. That should install the application by running the script in .sh file.
  6. Follow the prompts (if any) while installation which should look the same as they look in Windows.
  7. That's it. You are all set.
Hope this quick tip helped you install the application.


Post a Comment