How To Deal With .sh Files in Ubuntu

I tried Thinkfree office suit yesteday and decided to download the offline version. The file had .sh extension which I had no clue what to do.  I finally found the solution on Ubuntu forum.

To install .sh file, you need to use terminal.

Execute .sh files

  1. Open Terminal: Ctrl+Shift+T or Applications -> Accessories -> Terminal
  2. Navigate to where you save your file. Make sure you save your file where you want to install the application.
  3. Make your file executable.

    chmod +x

  4. Execute the file

    sudo ./

    Replace the name of the .sh file into “yourfile.” Make sure you type everything in correctly, including the file name, the period and lash before the file.

  5. Enter your password and the file will be executed.

Have fun!

5 Responses

  1. When I run the command chmod +x, i get
    chmod: cannot access `’: No such file or directory

    what do I do?

  2. Attention!
    Script significantly changes the desktop.
    If a previous version of Macbuntu-10.04 is installed it will be overwritten.

    Checking Ubuntu version…

    Checkin script user…
    Root user not allowed, please run this script as a regular user.

  3. Thanks man. Should have figured that out though.

  4. Thank you! Very helpful, and worked for this Ubuntu newbie first try.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: