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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-27-2002, 05:08 AM
|
#1
|
Member
Registered: Mar 2002
Location: Ireland
Distribution: Slackware 8.0, Mandy 9.0
Posts: 31
Rep:
|
Untar filename.tar.tar
Please, how do I untar a filename .tar.tar file.
Thanks
|
|
|
09-27-2002, 05:10 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
.tar.tar? Use this first:
file filename.tar.tar
to determine what the heck it is, then to untar a simple .tar file:
tar xvf filename.tar
so I'd supposed just do that twice?
tar xvf filename.tar.tar THEN when it extracts filename.tar from that, then:
tar xvf filenamr.tar
Cool
|
|
|
09-27-2002, 05:12 AM
|
#3
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
If not, then post the error message it returns.
|
|
|
09-27-2002, 05:17 AM
|
#4
|
Member
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230
Rep:
|
filename.tar.tar ??????
Was it a typo?
If not try tar xvzf filename.tar.tar
|
|
|
09-27-2002, 05:22 AM
|
#5
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
The reason I didn't think he/she needs the Z in xvzf is because I see no gzip on the end there. But it may just be a typo(as you suggested), and is actually a gzipped tar, which would make a little more sense.
Cool
|
|
|
09-27-2002, 05:31 AM
|
#6
|
Member
Registered: Mar 2002
Location: Ireland
Distribution: Slackware 8.0, Mandy 9.0
Posts: 31
Original Poster
Rep:
|
I just checked the names of the files on the download site and they are filenames.tar.bz2, but most downloaded as filename.tar.tar instead of filename.tar.bz2. So I guess I change the last .tar to a .bz2 and continue as normal.
Tanks
|
|
|
09-27-2002, 05:36 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
What did you d/l them with? I have heard of the newest version of Mozilla automagically unzipping files for you during the download. This might be the resulting file. If it's a bzip2, the command is:
tar xvjf filename.tar.bz2
So you could also give that a try.
Cool
|
|
|
09-27-2002, 05:44 AM
|
#8
|
Member
Registered: Mar 2002
Location: Ireland
Distribution: Slackware 8.0, Mandy 9.0
Posts: 31
Original Poster
Rep:
|
Ashamed to say I d/l'ed with IE5 on W2K.....but that's my fast connection at work.
Tanks again.....Oh! and I'm a HE
|
|
|
09-27-2002, 05:50 AM
|
#9
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
he he he, don't you love the internet, anyone can take you for any sex, age, race, whatever.
Anyway, you poor poor guy, IE. Yeah, I'd look into just giving it a try with the directions for the bz2:
tar xvjf filename.tar.tar (or even try changing the name of the file if this doesn't work to .tar.bz2).
If it's not a big deal, what program is this? Might give someone else a chance to try to "emulate" your situation and work their way out a little easier.
Cool
|
|
|
09-27-2002, 06:12 AM
|
#10
|
Member
Registered: Mar 2002
Location: Ireland
Distribution: Slackware 8.0, Mandy 9.0
Posts: 31
Original Poster
Rep:
|
mmmhhhh, just back from breaky. The files are from the cvs folder on the LFS site which I'm working on at home........some of the files d/l'ed are ok though......but I can't try them out til I get home. Come on the europeans (Ryder Cup)
|
|
|
09-27-2002, 06:19 AM
|
#11
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Oh, cool. Actually if you d/l the full file list from the CVS (something like 90mb) it will end in .tar and all you have to do is:
tar xvf lfs-packages(then hit TAB for autocomplete)
And that will extract them into the current directory.
Cool
|
|
|
09-27-2002, 06:46 AM
|
#12
|
Member
Registered: Mar 2002
Location: Ireland
Distribution: Slackware 8.0, Mandy 9.0
Posts: 31
Original Poster
Rep:
|
Tanks MasterC. I didn't realize the lfs-packages tarball contained all the packages needed for LFS.....I thought it was just a collection of other packages to add to LFS, and I was about to download it too.....so that's saved me.
|
|
|
09-27-2002, 07:10 AM
|
#13
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Cool, no problem 
|
|
|
All times are GMT -5. The time now is 09:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|