LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-25-2008, 08:03 AM   #1
debayan
LQ Newbie
 
Registered: Dec 2008
Location: india
Distribution: fedora 10
Posts: 2

Rep: Reputation: 0
installing .tar.tar


i tried to install xmss-1.2.11 in fedora 10.
downloaded the file .tar.tar type
used gzip
and then used tar -xvzf
it said "this does not look like a valid tape archive" ...
what do i do ???
 
Old 12-25-2008, 08:15 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Welcome to LQ!!!

First, did you check with the package manager to see if xmss is available there? (It is not on my system (Arch))

A file ending in ".tar.tar" makes no sense--are you sure it is not .tar.gz?

If you have a file ending in .tar.gz, you can extract it with one command: tar -xzvf filename (Note that the order of flags matters in some cases)

For .tar.bz2, use tar -xjvf

"man tar" for more details
 
Old 12-25-2008, 08:24 AM   #3
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
A file ends up with an "archive.tar.tar" name when it is not created properly. [Erroneous information deleted by poster] Rename the file to "archive.tar" and try again. If it still does not work you may need to download another archive such as "archive.tar.bz" or "archive.tar.bz2" and try again.

An archive with the name "archive.tar" is not a compressed archive and there is no need to use a "-z" option.

Last edited by AuroraCA; 12-25-2008 at 12:18 PM. Reason: Delete incorrect information
 
Old 12-25-2008, 09:39 AM   #4
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by pixellany View Post
A file ending in ".tar.tar" makes no sense--are you sure it is not .tar.gz?
When you get *.tar.tar file it normally means that browser saved file with wrong extension and it is really *.tar.gz or *.tar.bz2
 
Old 12-25-2008, 10:35 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by AuroraCA View Post
The tar command automatically appends the appropriate extension (.tar, .tz, etc.) on an archive when it is created.
Not on my system......

eg: "tar -cvf archive folder"

creates the file "archive". This will extract using "tar -xvf archive" and will re-create "folder"

Keep in mind that extensions are not used in Linux to do anything except help the user. eg--in my example--"archive" and "archive.tar" (assuming the same content) will do exactly the same thing with the tar command.
 
Old 12-25-2008, 12:15 PM   #6
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
Quote:
Originally Posted by pixellany View Post
Not on my system......

eg: "tar -cvf archive folder"

creates the file "archive". This will extract using "tar -xvf archive" and will re-create "folder"

Keep in mind that extensions are not used in Linux to do anything except help the user. eg--in my example--"archive" and "archive.tar" (assuming the same content) will do exactly the same thing with the tar command.
Thanks for the correction. I have removed the incorrect content from my post to avoid dissemination of misleading and wrong information. I recently unzipped a number of archives with unzip and they always presume the archive will have a ".zip" extension. I guess I was not thinking.
 
  


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
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
tar | ssh (tar > .tar) syntax issues EarlMosier Linux - Software 6 12-21-2006 12:28 AM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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