You are viewing the article How to Run the INSTALL.sh File on Linux Using Terminal at Lassho.edu.vn you can quickly access the necessary information in the table of contents of the article below.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 14,473 times.
The Linux operating system offers many simple ways to assist users in installing new programs, such as through the Ubuntu Software Center and Synaptic Package Manager. Even so, some applications still have to be installed from the command console. This article will show you how to install applications from the INSTALL.sh file using the command line.
Steps
- Right-click the downloaded archive, then select Extract Here (the content displayed may vary by Linux version).
- If you use the terminal, use the command ” cd ~/path ” to navigate to the directory where the archive is stored. Replace “path” with the path to the directory (such as “cd ~/Downloads”).
- To extract the “.tar” or “.tar.gz” file using the terminal, use the command ” tar -xvf filename.tar ” and press ” Enter “. Replace “filename” with the name of the file (such as “tar -xvf jdk-14.0.2_linux-x64_bin.tar.gz”) [1] X Research Source
- To extract the “.zip” file from the terminal, you will use the command ” unzip filename.zip ” and press ” Enter “. Replace “filename” with the name of the zip file (such as “unzip Minecraft.zip”).
- The fastest way to do this in most window management tools is to press the key combination ” Ctr + Alt + T ” on your keyboard.
- To make sure you have the correct directory open, type ” ls -a ” at the command console and press ” Enter “. You will see similar file and directory listings.
- If you don’t see an error message, it means the original file is executable.
- You can also do this outside of the terminal. The procedure will vary depending on the Linux distribution. To do this on Ubuntu, simply right-click the “.sh” file and select Properties . Click the Permissions tab and check the “Allow executing file as program” box.
- You can use some other commands like ” sh install.sh ” or ” ./install.sh “. If the file name is not “install.sh”, be sure to replace it with the correct file name, and then press ” Enter “. Use one of the commands above and press ” Enter “. [2] X Research Source
- To uninstall certain software using the terminal, you need to enter the command ” dpkg –list ” to open the list of installed programs on the Linux operating system. Find the program you want to uninstall and enter the command ” sudo apt-get –purge remove [program name] ” and press ” Enter “. Enter the password to access the computer and press ” Enter “. All that remains is to perform the necessary instructions to uninstall the program.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 14,473 times.
The Linux operating system offers many simple ways to assist users in installing new programs, such as through the Ubuntu Software Center and Synaptic Package Manager. Even so, some applications still have to be installed from the command console. This article will show you how to install applications from the INSTALL.sh file using the command line.
Thank you for reading this post How to Run the INSTALL.sh File on Linux Using Terminal at Lassho.edu.vn You can comment, see more related articles below and hope to help you with interesting information.
Related Search: