LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-10-2004, 06:24 AM   #1
ben_dsr
LQ Newbie
 
Registered: Oct 2004
Distribution: Debian
Posts: 12

Rep: Reputation: 0
tar: cannot execute


OK I think this may be simple
I wanted to install skype on my machine. I downloaded the tar.bz2 version from the skype website and followed the install instructions - I navigated to the folder where I downloaded the software and type the command tar xjvf skype_ver-0_92_0_2.tar.bz2 , as instructed, I get the response
tar: bzip2: Cannot exec: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
I guess I'm missing something simple here.
Thanks in advance
 
Old 10-10-2004, 06:30 AM   #2
mirradric
Member
 
Registered: May 2004
Location: Singapore
Distribution: Debian woody and debian sarge
Posts: 188

Rep: Reputation: 31
do you have bzip2 installed?
maybe you can try to run bunzip2 on the file directly.
 
Old 10-10-2004, 06:34 AM   #3
pauloref
Member
 
Registered: Sep 2004
Location: Italy, between milano and varese
Distribution: gentoo from stage3 with 2.6.7 development kernel
Posts: 55

Rep: Reputation: 15
just right click with your mouse on the file and select extract here.
 
Old 10-10-2004, 10:31 AM   #4
ben_dsr
LQ Newbie
 
Registered: Oct 2004
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
bzip2

No, I don't think I had bzip2 installed. I downloaded a package for version 1.0.2, which I unpackaged succesfully, however I can't get it to unpackage the skype package. the command line says that bunzip2: command not found. So I'm guessing i didn't install properly. However, I don't understand how to do this, I can't find any install instructions.
Sorry this is all probably pretty simple!
Thanks,
BEN
 
Old 10-10-2004, 10:58 AM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Looks to me like you have bzip2 installed, your error message says;

tar: bzip2: Cannot exec: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

See, it says "No such file or directory", that is the file skype_ver-0_92_0_2.tar.bz2 does not exist in the directory that you opened the shell in. It may be that you need to cd into a different directory or it may be that you've mispelled the name of the file. It has to be exactly right or you'll get your error.
If you didn't have the right tools installed the error message would have been "command not found".
 
Old 10-10-2004, 12:07 PM   #6
ben_dsr
LQ Newbie
 
Registered: Oct 2004
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
error message

well I navigated to the right directory - I checked the contents with the ls command to make sure I had the package I wanted there.
Then I typed in the instruction, followed by the name of the package. I highlighted it from the list produced by ls. then copied and pasted, so all that should have been good right?
I must be missing something simple...
 
Old 10-10-2004, 12:25 PM   #7
mirradric
Member
 
Registered: May 2004
Location: Singapore
Distribution: Debian woody and debian sarge
Posts: 188

Rep: Reputation: 31
Are your permissions right? Maybe you can try to run bunzip2 directly on the file then untar it. I always do this cos I can never remember the option for bzip2.

Last edited by mirradric; 10-10-2004 at 12:27 PM.
 
Old 10-10-2004, 04:08 PM   #8
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Sorry, that was wrong what I wrote before.
bunzip2: command not found : seems clear enough, but just to be extra sure, try using the command bzip2 . On my system bunzip2 is a symbolic link pointing at bzip2 so it's possible all that's missing is that symbolic link. But I'm clutching at straws, it looks like you need to install bzip2. These instructions work well for me. untar the source and cd into it with

tar xzf bzip2-1.0.2.tar.gz && cd bzip2-1.0.2

Then follow the commands on that page
 
  


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 10:55 AM
/bin/tar: cannot execute binary file dhammika Linux - General 8 11-08-2005 04:17 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM
can't execute the .exe and .tar.gz files Vieux Linux - General 12 12-01-2002 05:36 PM

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

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