LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-25-2011, 12:16 PM   #1
stephenthemartyr
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Rep: Reputation: Disabled
Question error when attemting to untar a .tar.bz2 file


Code:
stephen@ubuntu:~$ tar -xvf guitarix2-0.17.0.tar.bz2
tar: guitarix2-0.17.0.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
stephen@ubuntu:~$ bzip2 -dc guitarix2-0.17.0.tar.bz2| tar -xf-
bzip2: Can't open input file guitarix2-0.17.0.tar.bz2: No such file or directory.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
stephen@ubuntu:~$
I have read many how-to pages and have actually been using linux for 6 months at least but have yet to be able to download one of these files and then with magic or watever turn it into the program i want to use i really appreciate your help
 
Old 07-25-2011, 12:19 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The "No such file or directory" error is the key: the file guitarix2-0.17.0.tar.bz2 does not exist in the current directory. To see the files in the current directory, use the command ls. Where did you save the file? If it's on your desktop, there's usually a directory in your home directory called "Desktop" and it'll be in there. Use the command cd to change directory (e.g. "cd Desktop" will take you to the directory Desktop inside the current directory, if it exists).
 
Old 07-25-2011, 12:22 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
The first command is : pwd
It will inform about your location.

Then you will have to go to the location with guitarix2-0.17.0.tar.bz2.
Could it be Desktop/ ? Or Downloads/ ?

Next : cd Desktop/ && tar xvf guitarix2-0.17.0.tar.bz2
( If Desktop.)
 
Old 07-25-2011, 04:03 PM   #4
stephenthemartyr
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
found it/still error

Thanks guys so much I appreciate it.I made a folder for it in my home directory but it says that same error when i try??
 
Old 07-25-2011, 04:05 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Are you actually in the same directory as the file? Are you typing the filename correctly (note that they're case sensitive under Linux)? Show us the output of ls in your home directory.
 
Old 07-25-2011, 04:21 PM   #6
sandwormusmc
Member
 
Registered: Nov 2006
Distribution: Fedora 15 x86_64
Posts: 76

Rep: Reputation: 24
Quote:
Originally Posted by stephenthemartyr View Post
Code:
stephen@ubuntu:~$ tar -xvf guitarix2-0.17.0.tar.bz2
tar: guitarix2-0.17.0.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
stephen@ubuntu:~$ bzip2 -dc guitarix2-0.17.0.tar.bz2| tar -xf-
bzip2: Can't open input file guitarix2-0.17.0.tar.bz2: No such file or directory.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
stephen@ubuntu:~$
I have read many how-to pages and have actually been using linux for 6 months at least but have yet to be able to download one of these files and then with magic or watever turn it into the program i want to use i really appreciate your help
Hello Mr. Martyr,

What is the output of the following command: "cd; ls -la"?

Also, if you're using Firefox or the like, the TAR file will most likely be in ~/Downloads (the Downloads folder in _your_ home directory). So you may have to run a "cd ~/Downloads", or just "cd Downloads" if you're already in your home directory.

Good luck!
 
Old 07-25-2011, 04:24 PM   #7
stephenthemartyr
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
Code:


cello.h2song
cellos
Desktop
Documents
Downloads
fatherforgiveme
guitarix2-0.17.0
jackracksettings
jj
lmms
maro.auto
is that enough of it,its there right?
 
Old 07-25-2011, 04:33 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
You should seriously read this:

http://linuxcommand.org/
 
Old 07-25-2011, 04:43 PM   #9
stephenthemartyr
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
[CODE]
drwxr-xr-x 2 stephen stephen 4096 2011-07-20 04:24 Documents
drwxr-xr-x 2 stephen stephen 4096 2011-07-22 22:23 Downloads
-rw------- 1 stephen stephen 16 2011-07-14 06:17 .esd_auth
drwxr-xr-x 7 stephen stephen 4096 2011-07-21 02:37 fatherforgiveme
drwxr-xr-x 4 stephen stephen 4096 2011-07-22 21:19 .fltk
drwxr-xr-x 2 stephen stephen 4096 2011-07-20 04:46 .fontconfig
drwx------ 3 stephen stephen 4096 2011-07-20 04:56 .FontForge
drwx------ 5 stephen stephen 4096 2011-07-25 14:31 .gconf
drwx------ 2 stephen stephen 4096 2011-07-25 16:01 .gconfd
drwx------ 4 stephen stephen 4096 2011-07-20 04:46 .gegl-0.0
drwxr-xr-x 22 stephen stephen 4096 2011-07-20 04:54 .gimp-2.6
-rw-r----- 1 stephen stephen 0 2011-07-25 12:00 .gksu.lock
drwx------ 8 stephen stephen 4096 2011-07-25 12:34 .gnome2
drwx------ 2 stephen stephen 4096 2011-07-14 14:00 .gnome2_private
drwxr-xr-x 2 stephen stephen 4096 2011-07-19 04:10 .gstreamer-0.10
drwxr-xr-x 2 stephen stephen 4096 2011-07-24 05:05 .guitarix
drwxr-xr-x 15 stephen stephen 4096 2011-07-08 02:30 guitarix2-0.17.0
dr-x------ 2 stephen stephen 0 2011-07-25 14:31 .gvfs
drwxr-xr-x 2 stephen stephen 4096 2011-07-15 21:46 .helix
drwxr-xr-x 3 stephen stephen 4096 2011-07-14 14:41 .hydrogen
-rw------- 1 stephen stephen 13666 2011-07-25 14:31 .ICEauthority
drwxr-xr-x 3 stephen stephen 4096 2011-07-22 19:56 .icedteaplugin
drwxr-xr-x 2 stephen stephen 4096 2011-[07-14 08:01 .icons
-rw-r--r-- 1 stephen stephen 60 2011-07-25 10:49 .jackdrc
drwxr-xr-x 2 stephen stephen 4096 2011-07-17 01:12 jackracksettings
drwxr-xr-x 2 stephen stephen 4096 2011-07-23 18:59 .Jc_Gui
drwxr-xr-x 7 stephen stephen 4096 2011-07-18 00:53 jj
drwx------ 3 stephen stephen 4096 2011-07-22 18:14 .kde
drwx------ 3 stephen stephen 4096 2011-07-19 05:24 .kompozer.net
drwxr-xr-x 5 stephen stephen 4096 2011-07-23 03:43 lmms
[CODE]

---------- Post added 07-25-11 at 04:44 PM ----------

hmmm yea i know where it is,
 
Old 07-25-2011, 04:53 PM   #10
sandwormusmc
Member
 
Registered: Nov 2006
Distribution: Fedora 15 x86_64
Posts: 76

Rep: Reputation: 24
Quote:
Originally Posted by stephenthemartyr View Post
[CODE]
...
drwxr-xr-x 2 stephen stephen 4096 2011-07-24 05:05 .guitarix
drwxr-xr-x 15 stephen stephen 4096 2011-07-08 02:30 guitarix2-0.17.0
...
[CODE]
Ok so after you untarred the archive, it created a directory called "guitarix2-0.17.0". You'll have to run a "cd guitarix2-0.17.0" to get into it. Then check what's in that directory.

You may need to install a compiler if the program needs to be compiled. You can install gcc with "apt-get install gcc".

Look for a "configure" file in "ls -la" output, then run "./configure", then "make", then "make install" if it's there.
 
Old 07-25-2011, 05:27 PM   #11
stephenthemartyr
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
I have gcc and i went to the guitarix directory but i couldnt find the configure file and im not sure what to do next,ill read that site about commands but i still need some help

THank you for helping me
 
Old 07-25-2011, 05:32 PM   #12
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Quote:
Originally Posted by stephenthemartyr View Post
I have gcc and i went to the guitarix directory but i couldnt find the configure file and im not sure what to do next,ill read that site about commands but i still need some help

THank you for helping me
Not all sowtware uses the usual "./configure && make" to build. Could you post a list of the directory's contents?
 
Old 07-25-2011, 05:40 PM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
In the directory guitarix2-0.17.0
type
Code:
./waf configure
./waf build
sudo ./waf install
This is mentioned in the README file.

However there are dependencies you need to resolve:
Code:
    ladspa-sdk  
    gtk+-2.0 >= 2.12.0  
    gtkmm-2.0 >= 2.12.0  
    gthread-2.0 >= 2.10  
    sigc++-2.0  
    zita-convolver  
    zita-resampler  
    sndfile >= 1.0.17 
    jack (jackd, libjack, and dev) >= 0.109.1
    boost library >= 1.38
See
http://guitarix.sourceforge.net/inde...e=3&p_type=two
Kind regards

Last edited by repo; 07-25-2011 at 05:42 PM.
 
Old 07-25-2011, 05:50 PM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
The build prerequisites for guitarix2 0.16.. 0.17 are listed here :

http://packages.ubuntu.com/source/oneiric/guitarix

... with the correct Ubuntu package names.
 
Old 07-25-2011, 05:59 PM   #15
stephenthemartyr
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
sorry,sorry

i hate to be a nuisance but now I am confused
 
  


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
Piping tar bzcat to add a file to a tar.bz2 archive DaveQB Linux - Software 0 06-02-2008 09:28 PM
Whats the command to untar files that end in .tar.bz2? BaZiL Linux - Newbie 3 06-20-2007 11:51 AM
'Read-only file system' when untar a tar.bz2 file yinglcs Linux - General 1 02-18-2006 10:12 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 02:04 PM
An error when decompressing .tar.bz2 file safrout Linux - General 6 08-15-2003 04:49 PM


All times are GMT -5. The time now is 10:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration