LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   tar.gz (https://www.linuxquestions.org/questions/linux-software-2/tar-gz-109651/)

red hat-ziggis 10-28-2003 05:38 PM

tar.gz
 
how can i install a tra.gz pakage in red hat 9.0:mad: :p

red hat-ziggis 10-28-2003 05:39 PM

i ment a tar.gz

davecs 10-28-2003 05:56 PM

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

rberry88 10-28-2003 06:26 PM

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

Skyline 10-28-2003 06:29 PM

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)

mikeshn 10-28-2003 06:30 PM

Step #1
gunzip file.tar.gz

Step #2
tar -cvf file.tar

Than follow the instructions in "README"

red hat-ziggis 10-28-2003 06:32 PM

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]$

red hat-ziggis 10-28-2003 06:41 PM

there no read me file im just tryng to have a good moovie-mpeg-avi player

hw-tph 10-28-2003 06:47 PM

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 :)

red hat-ziggis 10-28-2003 06:52 PM

is it hard to install

hw-tph 10-28-2003 06:58 PM

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

davecs 10-29-2003 04:28 PM

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

hw-tph 10-29-2003 04:39 PM

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

davecs 10-29-2003 04:52 PM

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

jschiwal 10-29-2003 04:57 PM

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.


All times are GMT -5. The time now is 11:34 PM.