How do I run .sh files in Terminal?
marked as duplicate by Eliah Kagan, jokerdino♦, Mitch, devav2, Tom Brossman Oct 7 '12 at 11:44
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
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.
Go to the directory you have the file.
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.
And then type
And now it works great, thanks!