Home / the Internet / Accessories and Accessories / How to install drivers on linux

How to install drivers on linux

How to install drivers on linux</a>

Recently, more and more users are moving to the freely distributed operating systems of the Linux family.

Despite the fact that the vast majority of drivers are already integrated into the core of this OS, sometimes it sometimes becomes necessary to install Linux drivers on their own.

Instructions

    1

Since the family of Linux operating systems includes several of its subspecies, we will analyze the process of installing drivers using the example of systems using the apt batch system.
First of all, install the drivers on LinuxStrictly from proven sources. A software package that is not designed for your system can irrevocably ruin it. First of all, check the official repository of your system for the necessary packages. To do this, open the console, and get the rights of the system administrator.
[User @ LinuxBox ~] $ su-

    2

The system asks you for the administrator password. Enter it (attention, no signs are displayed!).

Password:

    3

Let's make an inquiry on an example of drivers for inkjet printers HP DeskJet:
[Root @ LinuxBox ~] apt-cache search HP Deskjet driver
In this command? Apt-cache search? - request to the batch system to find the required package,? HP Deskjet driver? - Keywords to search. In response, the system displays a list of available packages:
[Root @ LinuxUser ~] # apt-cache search HP Deskjet driver

Hplip - Solution for printing, scanning, and faxing with Hewlett-Packard inkjet and laser printers.

Hplip-common - Hewlett-Packard Co. Inkjet Driver Project

Hplip-hpijs - Hewlett-Packard Co. Inkjet Driver Project

Hplip-hpcups-PPDs - PPDs for Hewlett-Packard Co. Inkjet Printers and MFPs for hpcups cups driver

Hplip-hpijs-PPDs - PPDs for Hewlett-Packard Co. Inkjet Printers and MFPs for hpijs cups driver

    4

As you can see, all packages are part of the hplip package. Install this package with the following command:
[Root @ LinuxBox ~] # apt-get install hplip

    5

Drivers for other devices are searched similarly. If the official repository did not find anything, you should pay attention to the manufacturer's website. There they are laid out as ready-made packages or scripts with the extension run or sh. The rpm packages (for apt-systems) are installed in the console with root administrator rights in the folder where the downloaded package is located (as described above):
[Root @ LinuxBox ~] # apt-get install package_name.rpm

    6

If the driver is in the form of a script, then it is necessaryExecute it in the console as root. First of all, make the file executable and owner of the system administrator (root) file, give the right to execute:
[Root @ LinuxBox ~] # chown root: root filename.run & amp- & amp-chmod + x filename.run & amp- & amp-shmod 770 filename.run

    7

After that, run it for execution:
[Root @ LinuxBox ~] #. / Filename.run
If everything was done correctly, then the necessary software will be installed.
In the event of any unforeseen errors, you need to consult the documentation for your operating system or the technical support of the equipment manufacturer.

How to install drivers on linux Was last modified: June 20th, 2017 By Lebpaecw
It is main inner container footer text