LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-21-2004, 09:59 AM   #1
Desai
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Rep: Reputation: 0
.tar.tar


Yeah, another newbie question. I'd be happy to look up this stuff on my own if anyone can link good documentation.

There is a theme I'd like to install called nigritude_ultramarine_xp.tar.tar. I found 'some' info on untaring but can't quite get it to work. I'm running Mandrake 10.

I saw the link stickied for .tar.gz but was unsure of a procedure for .tar.tar.

Any tips on this or links to good documentation would be greatly appreciated.

D
 
Old 09-21-2004, 10:18 AM   #2
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
sounds like they tarred a tar file. To be sure run "file (filename).tar.tar", it should return something like (filename).tar.tar: tar archive. Then do "tar -xvf (filename).tar.tar" and it should extract a file called (filename).tar. Again do "file (filename).tar to make sure it's a tar file, if it is a tar file do "tar -tvf (filename).tar" To be sure untarring this doesn't overwrite any files you should create a directory "mkdir {directory name}" and move the tar file into it "mv (filename).tar {directory name}". Then "cd {directory name}" and untar the file "tar -xvf (filename).tar". now your file is untarred. NOTE: sometimes the creator of a tar file is not paying attention and will name the file *.tar.tar, when they meant to make it *.tar.tgz or *.tar.gz. So if, when you run "file (filename).tar.tar it returns gzip compressed file then you'll know it's a gzipped file and you need to run "gunzip (filename).tar.tar", if it returns "compressed file" run "uncompress (filename).tar.tar" , and if it says "zipped file" run "unzip (filename).tar.tar". Hope this helps.
 
Old 09-21-2004, 10:49 AM   #3
Desai
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
NOTE: sometimes the creator of a tar file is not paying attention and will name the file *.tar.tar, when they meant to make it *.tar.tgz or *.tar.gz.
I think that is what happened. I remember it saying something about gzip or something to that effect. Kind of confusing running into this stuff when you've only been looking at it for a day or two, but I'm sure I'll work it out. I appreciate your suggestion and I'll give it another run tonight.

D
 
Old 09-21-2004, 10:55 AM   #4
Desai
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Original Poster
Rep: Reputation: 0
OK, I went back to the website and downloaded the file from a different mirror and rather than a .tar.tar the file was a .tar.bz2. I found this but it was relating to slackware...

Quote:
Yes. First you untar them with tar -xvjf <packagename.bz2>
Then cd to the directory that makes and run as normal user
./configure
make
su -c "make install"
Will that work for this file being a bz2, or is there another procedure for mandrake?

Should be interesting learning this stuff.
 
Old 09-21-2004, 02:22 PM   #5
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
It may work, when you run ./configure the configure script will check your machine for sanity ( files and compilers exist where the script expects them). If anything is in error it will issue an error message and after it gets 2 or more errors it will fail. If it fails then it's probably slackware specific. I suggest looking for the program on www.rpmfind.com, you may find an RPM package that is Mandrake specific to use.
 
Old 09-21-2004, 02:23 PM   #6
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
BTW, the .bz2 is just a compression tool it has nothing to do with the internals of the downloaded file, it could have just as easily been compressed using gzip, bzip2, compress, zip, winzip or any other compression tool.
 
Old 09-21-2004, 02:51 PM   #7
Desai
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Original Poster
Rep: Reputation: 0
woo hoo! getting it figured out. I renamed the tar.tar to tar.gz then ran gunzip on it. then made a directory, moved it then untared it there. slowly but surely the little train got up the hill
 
Old 09-22-2004, 02:12 AM   #8
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
Downloading a .tar.gz or .tar.bz2 (especially the latter) on a Windows machine often leads to this kind of file renaming.

Yves.
 
Old 09-22-2004, 07:46 AM   #9
Desai
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Original Poster
Rep: Reputation: 0
I'm just happy I got it figured out, thanks you the help from this board.

The file on the webiste is listed as a .tar.tar. I think it was probably named wrong before being published for download...

Anyway, Thanks again!

D
 
  


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 02:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 10:55 AM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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