This article was co-authored by Blain Gunter and by wikiHow staff writer, Nicole Levine, MFA. Blain Gunter is a Computer Repair Specialist and small business owner based in Bakersfield, California. He was first introduced to computers at the age of five and has over twenty years of experience in his field. He is both an IT consultant and computer repair technician and takes pride in his ability to troubleshoot anything. He works with hardware, software, Windows, macOS, GNU/Linux, and even vintage electronics.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 92,694 times.
Do you need to install a Linux program from a TGZ file? A TGZ file is an archive (like a ZIP file) that contains compressed files, so you'll need to extract those files before you can install the program. While this might sound complicated, it's easy to do, even if you're not comfortable at the command line. This wikiHow tutorial will guide you through compiling and installing a program on Ubuntu, Debian, Kali, and any other flavor of Linux from a TGZ file.
TGZ Linux Installation: Quick Steps
- Open the TGZ file in Terminal from your file manager.
- Unpack the file with the command "tar -xzvf filename.tgz".
- Enter the new directory from the unpacked TGZ file.
- Look through the instructions in the README or INSTALL files.
- Run the configure script in the file's directory.
- Type in "sudo make install" to finish installing your file.
Steps
Expert Q&A
Tips
Expert Interview
Thanks for reading our article! If you’d like to learn more about troubleshooting computers and printers, check out our in-depth interview with Blain Gunter.
References
- ↑ https://codingcampus.net/how-to-install-tgz-files-in-linux/
- ↑ https://www.gnu.org/software/tar/manual/tar.html
- ↑ https://codingcampus.net/how-to-install-tgz-files-in-linux/
- ↑ https://www.gnu.org/software/bash/manual/html_node/Basic-Installation.html
- ↑ https://www.gnu.org/software/make/
- ↑ https://codingcampus.net/how-to-install-tgz-files-in-linux/
About This Article
1. Extract the files from the TGZ.
2. Enter the new directory.
3. View the README or INSTALL file.
4. Run ./configure and resolve any missing dependencies.
5. Run "make" and then "make install."