LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-06-2006, 12:14 AM   #1
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Rep: Reputation: 15
wht exactly does tar do , im tryin to figure out what that does


does it install something , and whats .bz2
 
Old 08-06-2006, 12:23 AM   #2
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
You can think of tar kind of like zip on Windows. A tar file (foo.tar) is an archive, or basically one file that contains a whole directory structure of files. Tar files are often compressed with either gzip or bzip2. These make the tar file take up less space. One compressed with gzip looks like foo.tar.gz, and one compressed with bzip2 looks like foo.tar.bz2.

A lot of software for Linux comes in a compressed .tar.gz or .tar.bz2 package, which is then extracted.
 
Old 08-06-2006, 12:29 AM   #3
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
ok how would i unzip and install this file MPlayer-1.0pre8.tar.bz2
 
Old 08-06-2006, 12:31 AM   #4
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
To decompress and untar a tar file, you use either

Code:
tar zxvf filename.tar.gz
OR
tar jxvf filename.tar.bz2
depending on whether gzip or bzip2 is used. That should extract everything to a directory, which you can then look in to see how to install. If it's a source package, the next step is to look at the INSTALL file in the extracted directory.
 
Old 08-06-2006, 12:34 AM   #5
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
k i ran the jxvf command now how do i install the mplayer
 
Old 08-06-2006, 12:37 AM   #6
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Open the directory that was created when you ran that command, and see if there's an INSTALL file there. If so, follow the instructions there. Otherwise, look for a README file in that directory or installation notes on the site where you downloaded the file.
 
Old 08-06-2006, 12:39 AM   #7
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
i cant find anything for some reason wht is wrong here , no install anywhere in teh folder
 
Old 08-06-2006, 12:56 AM   #8
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
im tryinto memorize teh switches with tar, and rpm, can someonefill me in on them like each with each task
 
Old 08-06-2006, 01:06 AM   #9
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
A .tar file is used to patch a .road file

to unzip a .bz2 you use tar -xvjf filename

go to the directory that just created, then run ./configure
make
(as root) make install

Last edited by masonm; 08-06-2006 at 01:07 AM.
 
Old 08-06-2006, 03:16 AM   #10
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
If you have Mandrake, then there is a much easier way of installing software than from source...
 
Old 08-06-2006, 02:20 PM   #11
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Easier than typing "./configure && make && make install"? That seems pretty easy to me. But better in terms of how you keep track of packages on your system, probably yes.
 
Old 08-06-2006, 02:28 PM   #12
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
Quote:
Originally Posted by jrdioko
Easier than typing "./configure && make && make install"? That seems pretty easy to me. But better in terms of how you keep track of packages on your system, probably yes.

Of course if you want to be able to use the mplayer gui, you have to use the flag --enable-gui with ./configure otherwise you have to start over.
 
Old 08-06-2006, 02:36 PM   #13
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Quote:
Originally Posted by debiant
Of course if you want to be able to use the mplayer gui, you have to use the flag --enable-gui with ./configure otherwise you have to start over.
True. Well, maybe someone who knows Mandrake can tell the OP the package way to install mplayer.
 
Old 08-06-2006, 03:06 PM   #14
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
Quote:
Originally Posted by jrdioko
Easier than typing "./configure && make && make install"? That seems pretty easy to me. But better in terms of how you keep track of packages on your system, probably yes.
In my experience it goes more like:
Code:
./configure
make
# cross fingers && wait for 10 minutes
(fails compile)
# install correct kernel-headers
make clean
./configure
make
make install
# hope I enabled the right features in ./configure and the thing actually works
I suppose you could say I'm an avid apt-getter.
 
Old 08-06-2006, 03:45 PM   #15
lotusjps46
Member
 
Registered: Apr 2003
Location: Dallas
Distribution: Vector Linux, Suse 10.1
Posts: 186

Rep: Reputation: 30
Ok, I went and got that package, and untarred it. The thing you are looking for is in the directory that tar made, in the file called README. It gives detailed instructions on how to install the package. What you have here is a copy of all the files that the guy who wrote MPlayer wrote. None of it is compiled into working software. The process described in README is for compiling the files into a working binary system.

MPlayer can be tricky to install this way, and I admire your efforts to get it working. It would be much easier to use a pre-compiled package made for Mandrake 9.1. In that case it is just a matter of downloading the MPlayer
RPM file, opening the Package Manager in KDE, and selecting the package. It will install it without having to compile it (it is already compiled). There is a copy of this rpm on the install CD's you used to install Mandrake, but it is not going to be this latest version.

Mandrake 9.1 is quite old by Linux standards. I had it on my server for a year or more. Mandrake does nnot exist anymore; they were bought by Conectiva, and are called Mandriva now.

Is there a reason that the old version of MPlayer will not do what you want it to do?

C
 
  


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
how to start and wht r d benifits harmandeep kaur Linux - Newbie 3 07-01-2005 07:06 PM
wht is mean by cups? ss100 Linux - Software 3 01-19-2005 07:04 AM
wht do these codes mean? jackandking Programming 10 12-25-2004 12:14 PM
cannot figure out how to exstract and compile a .tar.bz2 file. ccflashback Linux - Newbie 1 11-03-2003 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration