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."