LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   .tar.tar (https://www.linuxquestions.org/questions/mandriva-30/tar-tar-233357/)

Desai 09-21-2004 09:59 AM

.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

d3funct 09-21-2004 10:18 AM

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.

Desai 09-21-2004 10:49 AM

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

Desai 09-21-2004 10:55 AM

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.

d3funct 09-21-2004 02:22 PM

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.

d3funct 09-21-2004 02:23 PM

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.

Desai 09-21-2004 02:51 PM

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

theYinYeti 09-22-2004 02:12 AM

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

Yves.

Desai 09-22-2004 07:46 AM

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


All times are GMT -5. The time now is 11:55 PM.