LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems unzipping tar.bz2 (https://www.linuxquestions.org/questions/linux-newbie-8/problems-unzipping-tar-bz2-355535/)

fictos 08-21-2005 12:59 PM

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

ciotog 08-21-2005 01:05 PM

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

fictos 08-21-2005 01:10 PM

"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.


All times are GMT -5. The time now is 08:24 PM.