LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-28-2003, 05:38 PM   #1
red hat-ziggis
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
tar.gz


how can i install a tra.gz pakage in red hat 9.0
 
Old 10-28-2003, 05:39 PM   #2
red hat-ziggis
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
i ment a tar.gz
 
Old 10-28-2003, 05:56 PM   #3
davecs
Member
 
Registered: Feb 2003
Location: Dagenham, Essex, Britain
Distribution: PCLinuxOS
Posts: 485

Rep: Reputation: 31
It should make no difference which distro you are using. Unpack the file (I use Konqueror, others prefer the command line). Find the readme file and the instructions should be in it.

You WILL have to use the command line for the configure / make / su / make install commands, however!

DAVE
 
Old 10-28-2003, 06:26 PM   #4
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
In other words, he is trying to tell you to do this:

cd /directory where tar.gz file is

type this: tar -xzvf filename.tar.gz

a bunch of stuff will scroll by and you will now have a new directory with the file name as the name.

cd /filename
cat README or INSTALL -- this way you can read the instructions on how to install it, usually it is as follows:

./configure
make
make install

Then to run the program you will just need to type the program name (case sensitive) either in the terminal window or hit the Red Hat icon (lower left) and select 'Run Command' and then type the program name in. This website has detailed instructions if you don't follow my gibberish : www.linuxnovice.org .

rberry88
 
Old 10-28-2003, 06:29 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
For reference:

su to root user then

tar -zxvf filename.tar.gz

Remember that the Tarball is being extracted to the current working directory - you can check this with pwd

That will untar and unzip the file and create a sub directory with the name of the filename. cd into there and usually you'll have a readme file or an install text file that will have installation instructions, which often consists of:

./configure
make
make install

(If the tarball contains source code)
 
Old 10-28-2003, 06:30 PM   #6
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
Step #1
gunzip file.tar.gz

Step #2
tar -cvf file.tar

Than follow the instructions in "README"
 
Old 10-28-2003, 06:32 PM   #7
red hat-ziggis
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
thanks guys but it dont work take a peek mabee u can help i got it uncompresed but wont install

[ziggis@localhost rvx]$ dir
divx4linux-20030428 divx4linux-std-20030428.tar.gz
[ziggis@localhost rvx]$ cd divx4linux-20030428
[ziggis@localhost divx4linux-20030428]$ ./configure
bash: ./configure: No such file or directory
[ziggis@localhost divx4linux-20030428]$ make
make: *** No targets specified and no makefile found. Stop.
[ziggis@localhost divx4linux-20030428]$ make install
make: `install' is up to date.
[ziggis@localhost divx4linux-20030428]$ dir
decore.h install.sh
DivX\ MPEG-4\ Codec\ and\ Its\ Interface.htm libdivxdecore.so
encore2.h libdivxencore.so
install portab.h
[ziggis@localhost divx4linux-20030428]$
 
Old 10-28-2003, 06:41 PM   #8
red hat-ziggis
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
there no read me file im just tryng to have a good moovie-mpeg-avi player
 
Old 10-28-2003, 06:47 PM   #9
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Try Mplayer. It can handle anything you throw at it - DivX, Xvid, mpeg1/mpeg2, Quicktime, Real...the works.

Håkan

Edit: I can't even spell my own name
 
Old 10-28-2003, 06:52 PM   #10
red hat-ziggis
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
is it hard to install
 
Old 10-28-2003, 06:58 PM   #11
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Installing from source can be a bit tricky but it's not impossible. Just follow the directions and you should be OK.

You could also get unsupported RedHat packages here: http://ftp.icm.edu.pl/pub/linux/mplayer-rpms/

Håkan
 
Old 10-29-2003, 04:28 PM   #12
davecs
Member
 
Registered: Feb 2003
Location: Dagenham, Essex, Britain
Distribution: PCLinuxOS
Posts: 485

Rep: Reputation: 31
Can't you get all this stuff from a Red Hat Package Management system? I use Mandrake and I can count the number of tar.gz files I've installed on about half a hand! (OpenOffice and nForce mobo drivers) And they are non standard which is why I said in my earlier post look at the read me file, though the specific instructions the other guys gave are right about 95% of the time.

Thanks to plf and Texstar, us Mandrake users get it all spoonfed...

DAVE
 
Old 10-29-2003, 04:39 PM   #13
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
davecs >> If you're talking about Mplayer - the Redhat packages are crippled for copyright issues I believe. Many of the Mplayer codecs are hacked up proprietary Windows DLL's.

Håkan
 
Old 10-29-2003, 04:52 PM   #14
davecs
Member
 
Registered: Feb 2003
Location: Dagenham, Essex, Britain
Distribution: PCLinuxOS
Posts: 485

Rep: Reputation: 31
Are there any unofficial repositories? I get my Mandrake stuff from Penguin Liberation Front and Texstar. Does Red Hat have an equivalent?

If it doesn't try switching to Mandy!

DAVE
 
Old 10-29-2003, 04:57 PM   #15
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
FYI
Some tarballed applications don't have a configure script. They have instead a configure.in or config.in file. If this is the case, first su to root and use the autoconf command. This command will generate a configure script. Look at the manpage for autoconf for details.
 
  


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 02:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 10:55 AM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM


All times are GMT -5. The time now is 09:47 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