LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-14-2001, 10:18 AM   #1
hextex
LQ Newbie
 
Registered: Apr 2001
Posts: 19

Rep: Reputation: 0
Question


Hello, I seem to be having some trouble extracting files from a .tar.bz2 file. I am running Red Hat 7.1 under GNOME, if anyone can help me that would be great!

I am also looking for a good AVI player, the one i am trying to unpackage now, is MPlayer, but you can see i am having trouble with the tar.bz2
heh
 
Old 06-14-2001, 11:17 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
bzip2 -d -k (archive.tar.bz2) then tar -xvf (archive.tar)
 
Old 06-14-2001, 12:34 PM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by unSpawn
bzip2 -d -k (archive.tar.bz2) then tar -xvf (archive.tar)
In the same way as you do with gzip files you can squash the two steps above into the same command if you don't want the intermidary file with
Code:
bzip2 -dc archive.tar.bz2 | tar xvf -
HTH

Jamie...
 
Old 06-14-2001, 12:46 PM   #4
hextex
LQ Newbie
 
Registered: Apr 2001
Posts: 19

Original Poster
Rep: Reputation: 0
Ok, i tried th first thing, and it gave me a .tar That was empty. The second thing i tried, give me nothing, but it also gave no error message.

 
Old 06-14-2001, 12:50 PM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by hextex
Ok, i tried th first thing, and it gave me a .tar That was empty. The second thing i tried, give me nothing, but it also gave no error message.
If the first didn't work then the second won't either. Sounds like you file is corrupt or someone created an empty tar file then bzip2 compressed it, making it bigger!

Jamie
 
Old 06-14-2001, 12:57 PM   #6
hextex
LQ Newbie
 
Registered: Apr 2001
Posts: 19

Original Poster
Rep: Reputation: 0
Ok, your right, I downloaded it again from another location, and it worked great!! Thanks guys!
 
  


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
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
GUI support tar.gz/tar/gz/bz2 and etc demmylls Linux - General 3 10-09-2003 07:43 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM
tar.bz2 Loki_VA Linux - Software 16 08-19-2003 03:47 AM
.tar.bz2 s9722 Linux - Software 10 05-17-2003 06:09 PM

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

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