LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-26-2003, 09:50 AM   #1
brookes
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Rep: Reputation: 0
help with gz files


Hi I need to unzip a .gz file for the driver for my modem, but lack some details. I know the command is 'gz xxx filename', but what are the letters i need to put after the gz please.

thanks friends
peter
 
Old 10-26-2003, 09:57 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try:
tar -xzf /path/to/myfile.tar.gz
 
Old 10-26-2003, 11:13 AM   #3
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Rep: Reputation: 15
tar xfvz filename.gz
 
Old 10-26-2003, 11:22 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
_KDF,

You made a couple of typos:
Quote:
tar xfvz filename.gz
Should be tar -xfvz filename.tar.gz

The .tar.gz is the file extension. The v isn't strictly necessary, it just gives a verbose output. Handy if you want to see what's happening as the file untars.
 
Old 10-26-2003, 11:24 AM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
If it's just gzipped, do 'gunzip file'.

Right?
 
Old 10-28-2003, 03:30 AM   #6
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Rep: Reputation: 15
XavierP,

I only forgot the .tar.gz extension, my distro doesnt require a proceding dash "-" before xfvz.
 
Old 10-28-2003, 03:41 AM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
But brookes didn't say anything about tar. And it's not the distro that doesn't require the dash, but the GNU tar command, itself, on any distro. Where'd he go anyway? Did he ever get the damn thing extracted?
 
Old 10-28-2003, 11:39 AM   #8
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Rep: Reputation: 15
err, ye thats a good point he never did say it was tar'd.. just gz..


trying to trick me eh
 
Old 10-28-2003, 03:19 PM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Tchah, takes the best minutes of our lives, sets us to mildly disagreeing and then disappears without a 'by your leave'. The youth of today, in my day blah blah blah

 
Old 10-28-2003, 03:52 PM   #10
brookes
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
hi folks

'The youth of today, in my day blah blah blah' yeah i wish. im older than you lot put together.

Sorry i thought i had to wait till like tomorrow or next day for replies, didnt know you were all on the ball.

AND yes thanks i got the files extracted ok.

BUT then typing 'make' just throws up loads of errors so i am only a teeny bit further down this hard road.

peter
 
Old 10-31-2003, 01:52 PM   #11
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
What errors did 'make' give you?
 
Old 10-31-2003, 02:14 PM   #12
brookes
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Hi,
OK heres a brief run down on the output:
you should not include /usr/include{linux,asm}/header files directly for the compilation of kernel.
glibc now uses kernel header files from a working kernel. These files are glibc internal and may not match currently running kernel. They should only be included via other system header files.When compiling make sure to use the compiler option to use the correct include files.-I/lib/modules/'uname-r'/build/include instead of /usr/include/linux.

Hope this makes some sense to you.

peter
 
  


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
Able to write files to MP3 player but no files written into actual device? olnex Linux - Hardware 0 11-11-2005 06:32 AM
How program to read files with extension .dat y .cfg files COMTRADE in fedora 1? ivonne Linux - Software 0 11-22-2004 11:42 AM
How can konqueror view html files in .gz & .bz2 files directly? ailinzhe Linux - Software 5 05-24-2004 08:36 AM
xine plays only (a part of) the sound of a wmv, some divx files and crushes mp4 files bezoomny Linux - Software 1 03-10-2004 07:33 PM
How to filter files in files and files which are in a sub-directory with "grep"? Piero Linux - Newbie 9 08-29-2003 02:38 AM

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

All times are GMT -5. The time now is 01:02 PM.

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