Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-17-2004, 11:49 AM   #1
Charlie Chan
LQ Newbie
Registered: May 2004
Location: Byan, Texas USA
Distribution: Fedora 1 and it updates
Posts: 20

Rep: Reputation: 0
Question How do you install a tar.gz?

I downloaded iscan-1.10.0-3.tar.gz from for my 'Epson Perfection 3170 Photo ' scanner and the Linux version of Adobe Acrobat reader, linux-509.tar.gz. I put them
in a folder named Downloads located in /home/username/Downloads. How do I install these .tar.gz items? One last thing, the Adobe reader came with an installation script.

Last edited by Charlie Chan; 10-17-2004 at 11:56 AM.
Old 10-17-2004, 12:00 PM   #2
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Rep: Reputation: 30
first su into a root shell by typing:
<enter your root password>

then cd into your 'downloads' directory eg:
cd /home/username/downloads

then.... tar.gz is a file which is compressed twice.. once by the 'tar' or Tape ARchive ( i think) compression the next is trhe 'gz' gzip .. which is winzip for linux.....
to unopac the file type:
gunzip thefilename.tar.gz

this wil ltake a second and if youtype 'ls' you will see taht the .gz has dissappeared from the file name... now...
tar -xvf thefilename

(tar is the command -eXstractVerboseForce are the options which are shortned to xvf.... one big list of files later and you will be abel to see the directory you have untarred by typing ls

cd directorycreatedbytar

one of theese files should be called INSTALL type:

and reed... it will tell you excatally what to type to get the install script running.... however as a general guide typing....
./configure && make && make install
genberrally works okay... to brake it donw... ./configure tests the system to make sure you can compile the file... then && command meens literally 'uif the previous command works, do the next command' make tells the program to compile eg: install... and finalyy make install copies all the relovent files to there correct posisions on the os (i htink)
Old 10-17-2004, 12:01 PM   #3
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
you're running FC1, so i'll assume the .tar.gz that you downloaded is a source package. -- run
tar -zxvf <compressed package>
and that'll extract it. then read the <directory>/README and <directory>/INSTALL files which are commonly found

with install scripts, you usually just run those, otherwise it's usually
make install
--run from within the extracted directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 10:55 AM
how to install .tar.gz and and .src.rpms gadekishore Linux - Software 3 08-06-2010 05:02 PM
how to install and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration