LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-26-2001, 07:06 PM   #1
mainyeti
LQ Newbie
 
Registered: Jul 2001
Location: sunny scotland,,gretna-green
Distribution: mmm! cant decide, thats why i`m here
Posts: 8

Rep: Reputation: 0
Tar ??


Hi Guys,,
probably a total knobby question but I was advised to download a kernel and use the rpm -Uvh filename.rpm command to extract it , but the file is a .tar.gz..........Oh dear what is the unzipping procedure for this please.
I would stay up and read all night but I had a bit to much beer last night and I need my bed..
Cheers from Sunny-Scotland.....Gretna-Green
 
Old 07-26-2001, 11:00 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Code:
gzip -d filename.tar.gz
tar -xvf filename.tar
or
Code:
tar -zxvf filename.tar.gz
Make sure that you are in the directory that you want the files extracted to. You can take a look at the archive structure and the files in the archive with:
Code:
tar -tf filename.tar
 
Old 07-27-2001, 05:11 AM   #3
ct3
LQ Newbie
 
Registered: Jul 2001
Posts: 10

Rep: Reputation: 0
zip?

does linux included zip?
it's extension is .zip not .tar.gz
i know tar.gz is for linux
but wondering is there any proggie to compress the files to .zip format for linux, so can distribute compressed files to my windows user friends.
 
Old 07-27-2001, 05:22 AM   #4
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
redhat includes utilities for this.

ftp://ftp.rpmfind.net/linux/redhat/7...2.3-8.i386.rpm
and
ftp://ftp.rpmfind.net/linux/redhat/7....41-3.i386.rpm
 
Old 07-27-2001, 05:24 AM   #5
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
if you have x running, then there's a really nice program called archiver that does all the unzippingtarringgzippingbzipping for you. it's the tool of choice for lazy typists.
 
Old 07-27-2001, 09:13 AM   #6
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
....

i thought gzipping and zipping is the same thing??? I dont know if its because i am special or because of something else when i zip something on my linux box, i can unzip it on my windows machine. Winzip can unzip gzip, zip and even can untar for me.. Give it a try
 
Old 07-27-2001, 10:09 AM   #7
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
You can use winzip for .tar.gz files but you can't use tar or gzip for .zip files.

The thing that I don't understand is that winzip always chokes whenever I try to feed it a tarball without the gzip compression.
 
Old 07-27-2001, 10:03 PM   #8
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
I think, if you have the java jdk installed, you can open up .zip files with jar on Linux.
 
  


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


All times are GMT -5. The time now is 06:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration