how to untar a tar file

Asked by always lost

I am trying to install 'madwifi' and having no luck! I downloaded the file and it was a tar.gz file. No good to me. How do i install the wireless card drivers in a simple way?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

To untar the file:

tar xvzf file.tar.gz

Please also copy and paste the output of:

lspci

command

Thank you

Revision history for this message
subliminalfix (na1tr2lp-deactivatedaccount) said :
#2

you should be able to use file archive by default and then after you unzip or unpack a install now button should appear

peace
=]

Revision history for this message
always lost (iansmail1) said :
#3

Where do i find file archive, cos it doesn't come up by default. I tried that code and this is what came up:ian@ian-laptop:~$ tar xvzf file.tar.gz
tar: file.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
ian@ian-laptop:~$ sudo tar xvzf file.tar.gz
[sudo] password for ian:
tar: file.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
ian@ian-laptop:~$ lspc

bash: lspc: command not found
ian@ian-laptop:~$
ian@ian-laptop:~$

I can't find any help files anywhere as the kdehepcenter isn't there.

Revision history for this message
Old_Soldier (charles.davis) said :
#4

file.tar.gz is the actual name of the file you are trying to extract, replace it with the name of the file you downloaded.

Revision history for this message
Jim Hutchinson (jphutch) said :
#5

As Old_Soldier pointed out, you should use the actual name of the file not a generic name - file.tar.gz was just an example. However, you can do this easily by right clicking the file and choosing "extract here". Although sometimes it's easier to use the terminal if you want more control over what is happening.

Revision history for this message
Kristopher Ives (nullmind) said :
#6

If you're entering terminal commands remember you can always start typing the name of a file (case sensitive) and press the Tab key to finish it. You can also use file-roller to extract the archive by either double clicking or right clicking and selecting Extract.

Cheers,
Kris

Can you help with this problem?

Provide an answer of your own, or ask always lost for more information if necessary.

To post a message you must log in.