LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-17-2004, 12:49 PM   #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 epkowa.co.jp 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 12:56 PM.
 
Old 10-17-2004, 01:00 PM   #2
crm
Member
 
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:
su
<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
ls

one of theese files should be called INSTALL type:
cat INSTALL

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, 01:01 PM   #3
secesh
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
Code:
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
Code:
./configure
make
su
<passwd>
make install
--run from within the extracted directory
 
  


Reply


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 03:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 11:55 AM
how to install .tar.gz and .tar.bz and .src.rpms gadekishore Linux - Software 3 08-06-2010 06:02 PM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 07:30 AM


All times are GMT -5. The time now is 04:23 PM.

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