LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-09-2004, 02:03 PM   #1
themapincognita
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, 02:20 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

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

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.


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

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...
 
  


Reply


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


All times are GMT -5. The time now is 10:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration