PDA

View Full Version : Installin a .tgz file ??



Frost
05-04-2002, 01:38 PM
I downloaded a file from DivX web site called divx4linux501-20020218.tgz now that it ends in "tgz" and not the RPM file I'm used to installing, how do I install it? Will it install to where I want it? What about an application name in the startup menu items? After it is installed will I need to find it and add it to the list of applications?

I'm sure someone seeing this will have an answer. *S*

later guys!

Bern
05-05-2002, 07:54 AM
Precompiled slackware binaries come with a .tgz extension but so do some source code packages (although most source code comes with a .tar.gz or .tar.bz2 extension), post a link to where you got the package and I'll have a look to see which type it is.

Frost
05-05-2002, 08:29 AM
Hi Bern!

Here is the link you asked for. They have DivX 5.01 for Linux. It's a video compression codec and such.

http://jump.divx.com/nl.php?URL=http://www.divx.com/divx/maclinux.php

Let me know what you think!

And, as always, THANKS!

Frost
05-05-2002, 08:32 AM
That didn't look very good. let's try that again!

http://jump.divx.com/nl.php?URL=http://www.divx.com/divx/maclinux.php>

or this http://www.divx.com/divx/maclinux.php

Bern
05-05-2002, 09:15 AM
Ok, thats just a generic package containing the divX codecs, you can install it with the following commands,
[code:1:ef93909499]
bash-2.05$ tar xvfz divx4linux501-20020418.tgz <--unpack the archive
divx4linux-20020418/
divx4linux-20020418/libdivxencore.so
divx4linux-20020418/libdivxdecore.so
divx4linux-20020418/decore.h
divx4linux-20020418/encore2.h
divx4linux-20020418/README.linux
divx4linux-20020418/install.sh
divx4linux-20020418/DivX MPEG-4 Codec and Its Interface.htm
divx4linux-20020418/license.txt
bash-2.05$ cd divx4linux-20020418/ <--change to the new directory
bash-2.05$ su <--su to root
Password:
bash-2.05# ./install.sh <--run the install script
bash-2.05# exit <--change back to regular user
exit
bash-2.05$
[/code:1:ef93909499]

Frost
05-05-2002, 07:58 PM
Ok.. I printed the below instructions...

bash-2.05$ tar xvfz divx4linux501-20020418.tgz <--unpack the archive
divx4linux-20020418/
divx4linux-20020418/libdivxencore.so
divx4linux-20020418/libdivxdecore.so
divx4linux-20020418/decore.h
divx4linux-20020418/encore2.h
divx4linux-20020418/README.linux
divx4linux-20020418/install.sh
divx4linux-20020418/DivX MPEG-4 Codec and Its Interface.htm
divx4linux-20020418/license.txt
bash-2.05$ cd divx4linux-20020418/ ><--change to the new directory
*Now I used Superuser shell, which is supposed to be root, and after I changed into the above directory I typed ./install.sh

It waited for a little bit and gave me back a prompt. *S*

bash-2.05$ su ><--su to root
Password:
bash-2.05# ./install.sh ><--run the install script
bash-2.05# exit ><--change back to regular user
exit
bash-2.05$

I believe it is installed. How do I check that it IS installed? If it's installed, where would the program be? I have a small DivX video from Tom's Hardware for OC'in the Athlon XP, and I loaded in a program called "play movies" and went to the directory that had that DivX video. In Windows XP it plays with the 'Playa' but in the play movie program in Linux Mandrake 8.2 it say's it's not a recognized file format. Hmmm perhaps not the right "installed" program??

Thanks for the info, and I do think I have it insalled, unless I really need to change to "ROOT" b4 doing all this.

Bern
05-05-2002, 10:03 PM
They should be nstalled in /use/local/lib, now that you have the divX codecs installed you need to recompile the player software from source, what player is it you want to use?

Frost
05-06-2002, 12:48 PM
Well, Bern, in Windows the video program I use for playing DivX format MPEG-4 videos is called " The Playa". However, I don'k thing there is "The Playa" in my Mandrake 8.2... at least I haven't seen it crop up anywhere. *S*

Wold I need to compile a different video player in KDE? and HOW???

Thanks!

Bern
05-06-2002, 01:09 PM
Have a look at Xine (http://xine.sourceforge.net/) and mplayer (http://192.190.173.45/homepage/news.html) (although mplayer can be a ******* to compile), the reason linux movie players don't come with the codecs built in is due to licensing issues, you get the same problem with dvd support and the whole decss problem, the people who wrote decss only did it so they could play dvd's that they owned on linux but the MPAA twisted it to make them out to be pirates.