How to Execute INSTALL.sh Files in Linux Using Terminal
Download the software you wish to install., Extract the the contents to your Desktop. , Open the terminal., Make the .sh file executable., Finally, execute your .sh file., Finish the installation of your program.
Step-by-Step Guide
-
Step 1: Download the software you wish to install.
The necessary files will usually be compressed into a Tar archive or zip package. -
Step 2: Extract the the contents to your Desktop.
, The keyboard shortcut to do this is Ctrl+Alt+T.
Type in the following command: cd ~/Deskop/rockhopper-0.2.b1-020.
Replace rockhopper-0.2.b1-020 with the name of the folder on your Desktop.
Then press ↵ Enter. , Type in the next command into the terminal to make the file executable: chmod +x install.sh.
Replace install.sh with the name of your .sh file.
Then press ↵ Enter. , Type in this command: sudo ./install.sh.
Again, replace install.sh with the name of your .sh file.
Then press ↵ Enter Note:
If that doesn't work, try sudo bash install.sh without the "./" (This worked on Ubuntu 16).
You will be required to provide an administrative password for this step. , The terminal file might guide you through some additional steps, such as verifying the installation. -
Step 3: Open the terminal.
-
Step 4: Make the .sh file executable.
-
Step 5: Finally
-
Step 6: execute your .sh file.
-
Step 7: Finish the installation of your program.
Detailed Guide
The necessary files will usually be compressed into a Tar archive or zip package.
, The keyboard shortcut to do this is Ctrl+Alt+T.
Type in the following command: cd ~/Deskop/rockhopper-0.2.b1-020.
Replace rockhopper-0.2.b1-020 with the name of the folder on your Desktop.
Then press ↵ Enter. , Type in the next command into the terminal to make the file executable: chmod +x install.sh.
Replace install.sh with the name of your .sh file.
Then press ↵ Enter. , Type in this command: sudo ./install.sh.
Again, replace install.sh with the name of your .sh file.
Then press ↵ Enter Note:
If that doesn't work, try sudo bash install.sh without the "./" (This worked on Ubuntu 16).
You will be required to provide an administrative password for this step. , The terminal file might guide you through some additional steps, such as verifying the installation.
About the Author
Lisa Parker
Experienced content creator specializing in DIY projects guides and tutorials.
Rate This Guide
How helpful was this guide? Click to rate: