LinuxQuestions.org
Help answer threads with 0 replies.
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, 11: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, 12:17 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

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

Rep: Reputation: 46
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, 01: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, 01:50 PM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
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, 01: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


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

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

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