Celeb Glow
news | March 04, 2026

How do you install drivers on linux?

When you download linux drivers for devices such as wireless dongles, you'll get a folder full of random files that I'm assuming oyu need to compile? How do you install a wireless driver in linux?

4 Answers

Generally it depends on many things, but I'll sum them up to 2 ways:

  • Through a repository: In this case the driver needed is available as a package already compiled in your distribution. Using the package manager (apt-get, yum, pacman, ...) you may install the needed one(s). E.g. apt-get install package_name would do in Debian based distributions.
  • The other way is downloading the sources and compiling them yourself. As it is a driver you'll need a development package for your kernel as Ignacio noted (you may get it using the repositories). Once that is installed, the most general way to install things in Linux usually involves running 3 commands in the directory the sources for the driver (in this case) are: ./configure, make, and make install. The last one is generally called with superuser privileges (either directly from the root account or through sudo, gksu or something similar).
1

In practice most devices are already supported by the installed kernel and modules; just plug in the device and try it out.

If it doesn't work then you can see if there are drivers in a separate package. Look in the dmesg output to see if anything has been detected for your device.

First you need to install make, gcc, and the development files for your kernel (in a package called kernel-devel or something similar). Then read the INSTALL or README file that comes with the driver in order to learn the correct sequence of commands used to build and install that driver.

With Ubuntu, you can install the command make with

sudo apt-get install make

or get a package that contains make:

sudo apt-get install build-essentials
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy