In recent years, a growing number of users goes to open source Linux family of operating systems.
Despite the fact that the vast majority of drivers are already integrated into the kernel of the OS, sometimes all the same it is necessary to independently install drivers on Linux.
Since the family of Linux operating systems includes some of its subspecies, then analyze the driver installation process on the example of systems using apt batch system.
First of all, install the drivers on Linuxmust be strictly from reliable sources. The software package, which is not intended for your system, it may irrevocably ruin. To get started make sure to check the official repository of your system for the required packages. To do this, open a console, and get the system administrator rights.
[User @ LinuxBox ~] $ su-
The system will ask you for an administrative password. Enter it (attention, no signs at the same time are not displayed!).
Make a request for example drivers for inkjet printers HP DeskJet:
[Root @ LinuxBox ~] apt-cache search HP Deskjet driver
In this team? Apt-cache search? - A request to the batch system to search for the required package, HP Deskjet driver?? - Search keywords. In response, the system will display 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
As you can see, all the packages are part of the package hplip. Install this package with the following command:
[Root @ LinuxBox ~] # apt-get install hplip
Drivers for other devices are searched similarly. If, however, in the official repositories could not find anything, you should pay attention to the manufacturer's website. There, they are laid out in the form of ready-made packages or scripts c extension or run sh. rpm packages (for apt-systems) are installed in the console with root administrator rights to the folder where the downloaded package (as described above):
[Root @ LinuxBox ~] # apt-get install imya_paketa.rpm
If the driver in the form of a script, it is necessaryexecute it as well in the console as root. First of all, make the file executable file and the owner of the system administrator (root), give the right to perform:
[Root @ LinuxBox ~] # chown root: root imya_fayla.run & amp- & amp-chmod + x imya_fayla.run & amp- & amp-shmod 770 imya_fayla.run
Then run it:
[Root @ LinuxBox ~] #. / Imya_fayla.run
If everything was done correctly, it will be installed the necessary software.
In the case of any unexpected errors, you need to see the documentation for your operating system or in the technical support of the manufacturer.