LinuxQuestions.org
Help answer threads with 0 replies.
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 08-21-2005, 12:59 PM   #1
fictos
LQ Newbie
 
Registered: Jul 2005
Location: Colorado
Distribution: Ubuntu
Posts: 21

Rep: Reputation: 15
Problems unzipping tar.bz2


I'm trying to unzip a tar.bz2 file via a tar command. I've searched this forum and tried everything people sugested:

tar -jxvf filename.tar.bz2
I get "tar: bzip2: Cannot exec: No such file or directory"

tar --bzip2 -xvf filename.tar.bz2
I get "tar: bzip2: Cannot exec: No such file or directory"

bunzip2 filename.tar.bz2
I get "bash: command not found"

Any ideas on how i can get this problem solved?

TIA
 
Old 08-21-2005, 01:05 PM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Strange that bzip2 wouldn't already be there...

Have you tried the following (assuming you're using apt-get):
Code:
apt-get update
apt-get upgrade
That is of course if you have high-speed internet access. If not, then try this:
Code:
apt-get install bzip2
 
Old 08-21-2005, 01:10 PM   #3
fictos
LQ Newbie
 
Registered: Jul 2005
Location: Colorado
Distribution: Ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
"apt-get install bzip2" solved my problem, however I thought basic net-istall of sarge came with bzip2, but i guess not.
Nothing happened when i did the "update" and "upgrade" commands, btw.

Thanks alot for your help.
 
  


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
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM
problem in unzipping the tar file jyome Linux - Software 1 09-04-2003 08:56 AM
Problems unzipping a *.tar.gz file --permission denied? mfarley Linux - Newbie 3 07-22-2003 05:07 PM
unzipping files using bz2 bruce64 Linux - Software 6 07-17-2003 02:51 PM

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

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