LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-16-2009, 02:13 PM   #1
invader44
Member
 
Registered: Dec 2008
Location: America
Distribution: Ubuntu 11.04
Posts: 64

Rep: Reputation: 15
.tar.gz


I have downloaded a file that has a .tar.gz extension on my windows laptop and I have used 7zip to extract files out of it. My question is how can I burn these files to a disk and then have another pc boot off these files. The only reason I am asking this question is the site that I need the ISO image from is doing maintence and the only file I can download is the .tar.gz file on my windows desktop. Is it possible to use this .tar.gz file to install? After extracting the file it is name Prebook3.0.tar on my windows desktop.

Thanks
 
Old 06-16-2009, 02:16 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
tar.gz, okay- the .gz shows the user it is gzipped, tar is (more or less) a container nowadays.

For windows programmes to unpackage tarballs, you're better off asking a windows forum, they'll be far quicker that asking here
 
Old 06-16-2009, 02:37 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
AFAIK you can use 7Zip or unrar
 
Old 06-16-2009, 02:49 PM   #4
vimmex
LQ Newbie
 
Registered: Nov 2008
Location: Mexico
Distribution: Arch Linux
Posts: 10

Rep: Reputation: 0
Okay, you unzipped the tar.gz file and now you have a .tar file, right? The .tar.gz is similar to a zip file, it contains a lot of files in one archive and then compresses it. In a zip file, this is done in one step. With a tar.gz file, this has two steps. First someone took many files and put them in one archive, which ends in .tar, then the tar file is compressed using gzip, and it becomes .tar.gz

Now, what you have done with 7zip is just undo the second part, the compression. You still need to get the files out of the .tar which is still an archive (just not compressed). All you need to do is untar it. I am sure 7zip can let you do that, too. So you probably just need to open it with 7zip again and ask it to unpack the tar file.

Next time, if you open a tar.gz file with any archiver program, and you all you see is a tar file inside, just double-click that tar file and it will give you the real contents of the archive.
 
Old 06-17-2009, 09:14 AM   #5
invader44
Member
 
Registered: Dec 2008
Location: America
Distribution: Ubuntu 11.04
Posts: 64

Original Poster
Rep: Reputation: 15
.tar.gz?

Hello again,

Well I installed slackware 12.2 on a pc and downloaded the prebook.tar.gz using lynx to my slackware machine. But now the problem is that I use tar -xvzf prebook3.0.tar.gz and nothing happens but things scroll accross the screen like directory name but nothing is actually untarred. what i am i doing wrong tried gzip -d prebook.tar.gz and now my file is prebook.tar. I know after i untar the file I should be able to cd into that directory and do a ./configure. help
thanks vadder
 
Old 06-17-2009, 10:58 AM   #6
vimmex
LQ Newbie
 
Registered: Nov 2008
Location: Mexico
Distribution: Arch Linux
Posts: 10

Rep: Reputation: 0
"tar xvzf" is indeed the correct command to uncompress a tar.gz file. Are you sure it did not unpack the files? maybe the directory is not named as you expect it to be? Did you check with 'ls' to see what the current directory holds?

Also, are you reading the Slackbook? You really should read it to learn how to use Slackware, and maybe some other general linux guides.

http://www.slackbook.org/html/index.html

Good luck!
 
Old 06-17-2009, 11:01 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
you should do
Code:
tar -xvzf prebook3.0.tar.gz
a directory will be created, normally it should be prebook3.0
Code:
cd prebook3.0
Code:
ls
read the readme and install files
 
  


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
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 10:55 AM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
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 - Newbie

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