LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2003, 05:10 PM   #1
zaphanol
Member
 
Registered: Jul 2003
Location: Central Illinois, USA
Distribution: Red Hat Linux 9
Posts: 92

Rep: Reputation: 15
how to install .tar.gz files


How do I install .tar.gz files? I dont get it... Please help.

Thanks,
 
Old 08-10-2003, 05:21 PM   #2
Riley
Member
 
Registered: Feb 2003
Location: SC, USA
Distribution: Mandrake 10.0 Powerpack
Posts: 178

Rep: Reputation: 30
first
tar -zxvf file.tar.gz (this unzips the archive)
cd newdir (go to the directory you just unzipped)
./configure (configure for your machine)
make (compile)
su root (become root user so have install permissions)
make install (install software)
 
Old 08-10-2003, 05:21 PM   #3
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
.tar.gz is a compressed archive similar to .zip (usually called a tarball). These file usually contain the source code and you have to compile it yourself.

first you have to unpack it
Code:
tar -zxf filename
flags explanation:
z run through gzip filter
x extract
f force (like saying "just do it will ya")

probably this will create a folder similar to the filename but without .tar.gz
enter it
look for files called INSTALL, README or anything else interesting.
Follow any instructions in the files mentioned above.

Generally installation procedure is:
Code:
./configure 
make
this will configure and compile the program. hopefully everything will work. If not you have to look at the error messages and try to fix it, this can be really hard.

Now you just have to install the program, this has to be run as superuser
Code:
su
make install
Now it should be installed.
 
Old 08-10-2003, 05:23 PM   #4
Riley
Member
 
Registered: Feb 2003
Location: SC, USA
Distribution: Mandrake 10.0 Powerpack
Posts: 178

Rep: Reputation: 30
EDIT: whoops

Last edited by Riley; 08-10-2003 at 05:25 PM.
 
Old 08-10-2003, 06:00 PM   #5
zaphanol
Member
 
Registered: Jul 2003
Location: Central Illinois, USA
Distribution: Red Hat Linux 9
Posts: 92

Original Poster
Rep: Reputation: 15
thanks...
 
Old 08-10-2003, 06:46 PM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
tar just puts all the files end to end to make them
compress better with gzip. ANYTHING can be in a
tarball. source code that you want to compile. some
precompiled package you just have to extract. or some
precompiled package with it's own installer that you
have to run to install it. most often it is source code
that you have to compile to use. since things vary so much
you must read instructions inside to tarball or from
where you got it to know what to do. most websites
will list all the instructions. you will almost always
have to download a bunch of different stuff to get
something to work.
 
Old 04-24-2004, 07:07 PM   #7
Slider847
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware 10
Posts: 6

Rep: Reputation: 0
Quote:
Originally posted by GŠutama
.tar.gz is a compressed archive similar to .zip (usually called a tarball). These file usually contain the source code and you have to compile it yourself.

first you have to unpack it
Code:
tar -zxf filename
flags explanation:
z run through gzip filter
x extract
f force (like saying "just do it will ya")

probably this will create a folder similar to the filename but without .tar.gz
enter it
look for files called INSTALL, README or anything else interesting.
Follow any instructions in the files mentioned above.

Generally installation procedure is:
Code:
./configure 
make
this will configure and compile the program. hopefully everything will work. If not you have to look at the error messages and try to fix it, this can be really hard.

Now you just have to install the program, this has to be run as superuser
Code:
su
make install
Now it should be installed.
Where do you enter all this?
 
Old 04-24-2004, 10:50 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
with tar the "f" means file instead of device, not force.
tar is a command line application. enter in the terminal or console.
there are some frontends for it though.
 
Old 11-08-2004, 03:47 AM   #9
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 226

Rep: Reputation: 66
Quote:
with tar the "f" means file instead of device, not force.
tar is a command line application. enter in the terminal or console.
there are some frontends for it though.
know any names of them? I have alot to install and play with, and i nearly everythin i downloaded are tar gzips which seem to take the longest to intstall. waaaa. i want gui! its been too long since command lines for me... i want to click a mouse button! waaaa!

Last edited by Siljrath; 11-08-2004 at 03:53 AM.
 
Old 11-08-2004, 08:53 AM   #10
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
http://freshmeat.net/search/?q=tar+f...&Go.x=0&Go.y=0
 
  


Reply



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 to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
how do i install .tar files? squirlprotector Linux - Software 16 02-17-2005 06:04 PM
How do you install .tar.gz files? Lechium Slackware 7 09-20-2004 12:04 AM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 04:35 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:25 AM.

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
Open Source Consulting | Domain Registration