LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I need to know how install tar.gz files (https://www.linuxquestions.org/questions/linux-newbie-8/i-need-to-know-how-install-tar-gz-files-729199/)

wwalker 05-28-2009 08:15 PM

I need to know how install tar.gz files
 
I am new to Linux and I have a bunch of Software with the tar.gz extension that I need to know how to install can anyone help me?

cardinals_fan 05-28-2009 08:23 PM

Here's what you should do:

1. Check to see if the app you want is in your distribution's repositories. Most Linux distros don't follow the Windows paradigm of software installation (download from developer). Instead, they maintain a central repository and let you install it with a package manager. What distribution do you use?

2. If it isn't in the repos, you may need to either compile it or use a binary install script. A tar.gz file is nothing more than an archive to be extracted. You can extract it with a graphical tool or by entering
Code:

tar xvzf filename.tar.gz
in a shell.

3. If it contains either a .sh or .bin file, you can run the installer with
Code:

chmod +x filename.sh
./filename.sh

4. If it contains a bunch of files with names like "configure" or "Makefile", it needs to be compiled. You can usually do this with the following, though there are exceptions:
Code:

./configure
make
sudo make install (if you use a distro with sudo)

What are you trying to install?

syg00 05-28-2009 08:26 PM

Normally the site you download from should give you that info. You need to untar them then install. Think unzip. Run "man tar" (no quotes) from a terminal.
Which distro are you using - most of the mega distros will have a tool for this if you double-click the tarball.

linux hates me 05-28-2009 10:54 PM

inside should be a txt file with all the installation instructions labeled "Install" or INSTALL you can just open the tar.gz package in the gui and double click on the install text file and just follow the instructions. if you have trouble go to the software forum and ask specific questions about the program you want to install.


All times are GMT -5. The time now is 06:00 PM.