Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My laptop does not have the right wifi driver so I cannot use the internet on it. I have gotten the correct driver in the .tar.gz format on another computer and transferred it to the Linux laptop, but now I have no idea how to use it. People always say to use the make program but I do not have that installed; I have only the bare minimum.

How do I install a file from a (Makefile) .tar.gz without Internet access?

share|improve this question
Could you share a download(.tar.gz file) link or lspci output –  Hckr Nov 13 '12 at 15:22
Please tell us your laptop vendor/model, and the output of lspci. –  Eric Carvalho Nov 28 '12 at 0:40

1 Answer 1

If you can download the packages to your other computer and then transfer them on a USB key, CD or similar, then we can get the job done. First, let's get build-essential: http://packages.ubuntu.com/precise/build-essential

Download the package as appropriate to your architecture; either i386 (32-bit) or amd64 (64-bit). Find out which you have with this command:


32-bit will report as i686 and 64-bit as x86_64.

The red dots indicate that the package build-essential depends on dpkg-dev, g++, gcc, libc6-dev or libc-dev and make. Download those packages also.

Now for linux-headers: http://packages.ubuntu.com/search?ke...se&section=all As you can see, you can download linux-headers-generic or linux-headers-generic-pae. Find out which you need with:

    uname -r

This package depends on the headers matching your running kernel. That means that, in addition to the 'generic' or generic-pae' package, you'll also need linux-headers for your kernel. For example, if the uname -r command shows that you are running 3.2.0-23-generic, you will need linux-headers-3.2.0-23-generic.

Once you have all these on a USB key or CD, drag and drop these on to the desktop of your Ubuntu installation. Open a terminal and do:

    cd Desktop
    sudo dpkg -i *.deb

The wildcard * will install every .deb on your desktop. Note any errors and download and install any other packages as needed.

Now let's install the tar.gz. Right click the file and select 'Extract Here.' Now back to the terminal:

    cd Desktop/some_file   <--substitue the name of the file you extracted
    sudo su
    make install
share|improve this answer
thanks for the help, but the link you provided for the linux-headers doesn't work and I can't seem to find it on my own. –  Louis Nov 14 '12 at 1:06
What is your Ubuntu version? 32- or 64-bit? Which kernel version are you running? 'uname -r' –  chili555 Nov 14 '12 at 23:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.