Possible Duplicate:
How do I run .sh files in Terminal?
I've been trying to install the altitude.sh file I got from altitudegame.com. but I don't know how to install it. And it is not in the Software Center either. I found the game here.
Possible Duplicate:
How do I run .sh files in Terminal?
I've been trying to install the altitude.sh file I got from altitudegame.com. but I don't know how to install it. And it is not in the Software Center either. I found the game here.
First you need to go through GUI, when you right click on the file and goto permissions tab then you get an option to make the file executable as in the picture.
and then you have two methods to install the game.
Method 1:
Open Terminal.
Go to the directory you have the file.
Type ./filename.sh
and hit Enter.
Or you can type bash filename.sh
.
Method 2: (Easiest way)
Double-click on the file the way you open any other file. That should install the application by running the script in .sh file. Follow the prompts (if any) while installation which should look the same as they look in Windows. That’s it. You are all set.
Hope this quick tip helped you install the application.
Htorque told me to type in a terminal when I had the file in my home folder.
chmod +x altitude.sh
And then type
./altitude.sh
And now it works great, thanks!