LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-2008, 06:47 AM   #1
okonita
LQ Newbie
 
Registered: Mar 2006
Posts: 8

Rep: Reputation: 0
How can I decompress this .tar file?


Hi all,

I downloaded the IBM DB2TOP monitoring file, unzipped it to find ta.gz file and others. I ran gunzip db2top-2.0-bin.tar.gz and got another file db2top-2.0-bin.tar.
This is where I am stuck. I tried $ tar xvjf db2top-2.0-bin.tar and
$ tar -xvjf db2top-2.0-bin.targot and each time got the following error:

bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors


Can someone show me how to decompress this file?

Thanks
 
Old 06-14-2008, 06:50 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You just need to run "tar xvf filename.tar" now.

If you wanted to do everything in one go (rather than running gunzip and then tar), you could have done so with "tar zxvf filename.tar.gz". The z option is for use on gzipped files, whereas j is for bzipped files (hence the error message).

Edit: you should really read the tar man page for info on the options.
 
Old 06-14-2008, 07:30 AM   #3
okonita
LQ Newbie
 
Registered: Mar 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Nylex View Post
You just need to run "tar xvf filename.tar" now.

If you wanted to do everything in one go (rather than running gunzip and then tar), you could have done so with "tar zxvf filename.tar.gz". The z option is for use on gzipped files, whereas j is for bzipped files (hence the error message).

Edit: you should really read the tar man page for info on the options.
Thank you Nylex. I removed the .tar file and ran tar zxvf and got it to decompress.

Now I am trying to get db2top to execute but it is failing. You wouldn't know something about db2top, would you?

Again, many thanks
 
Old 06-14-2008, 07:34 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Unfortunately, I don't know anything about db2top, but it would help if you posted how exactly it's failing. Post error messages if there are any.
 
  


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
decompress tar.bz2 files dhamle Linux - Software 2 09-11-2007 11:24 AM
Can't decompress tar.bz2 (kde theme file) dauphinfay Linux - Software 5 10-24-2005 03:23 PM
decompress tar gz files? buccaneer Linux - Newbie 5 01-19-2004 03:15 AM

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

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