Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-09-2004, 01:03 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
In general how to install drivers

In Windows there is a pretty generic procedure for installing a new device (where a lot of the work is done for you). I was just wondering what is the equivalent in Linux? What are the steps?
Old 11-09-2004, 01:20 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The vast majority of drivers are actually part of the
linux-kernel, you may only need to actually load

For the ones that aren't steps vary. Some people
will only distribute binary drivers (which is a pain
in the neck since you'll need new/different versions
for varied kernels (release wise) and/or compilers
used (e.g. gcc 2.95.3 vs. 3.3.x) ... others will be
distributed as source which means that you'll need
to have the kernel source installed so you can
compile them against the kernel you're using.

Old 11-09-2004, 01:32 PM   #3
Senior Member
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Depends on the Distro.

It also depends on what hardware you are talking about.

A lot of distros have nice installers that take care of troublesome things like installing and configuring driver modules for various components. SuSE for example has a tool called YAST2. Also, there is SAX2 for video configuration.

Some distros are debian package distros,... like Debian (duh). Others are RedHat Package Manager (RPM) distros,... like RedHat (again, duh), SuSE, Mandrake, Fedora, etc.

Apt-get can also be used to install drivers and applications. It is a command that searches known databases for the latest version of a program, and together with its dependecies, installs it on your system. It's a very handy way of installing programs and is commonly used in Slackware.

Keep in mind that anything you can install using nice tools can also be installed using a command line. RPMs, for example, can be installed using the rpm command. Syntax of these commands is very important, and you have to know what you are doing.

Drivers can also be compiled manually from "tar-balls" that you download. You "untar" the file to a directory (much like unzipping), and then install with the make and install commands... It requires you to know a little bit about Linux to do this (Hence, things like RPMs, Debian packages, and the apt-get utility).

Once a driver is installed, you may have to configure the system to use it. With video, for example, you need to edit the X86Config or Xorg configuration files. Many distros have tools that do this for you (SAX2 for SuSE, HardDrake for Mandrake, etc.). You may also have to make the system use the particular module... using modprobe, insmod and lsmod,... Again, most well developed distros have tools to do this stuff.

Drivers can also be compiled into the kernel. The user can use the driver software together with the kernel source-code to create a custom kernel made specifically for that machine. The advantage is that the system will run quicker with less mess, after the custom kernel is properly compiled and installed.

So,... you can see that Linux is quite versatile, can be complex, but can also be easy to use...


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
General PXE install server Bluesuperman Member Success Stories 4 07-25-2007 05:51 PM
General- install an application ajbrouwe Linux - Software 3 07-22-2004 11:23 AM
General How-to Install Questions Linvilidiot Linux - Software 10 03-10-2004 11:12 PM
general software install questions scrotemus Linux - Software 3 12-12-2002 02:16 PM
installing drivers - general how to sloptaco Linux - Newbie 2 08-13-2001 05:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration