• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

ubuntu-drivers: command not found

by admin

Device drivers literally drive everything you’re interested in–disks, monitors, keyboards, modems–everything outside the computer chip and memory. With the ubuntu-drivers command you can install the recommended driver for the device.

First, detect the model of your device and the recommended driver. To do so execute the following command. Please note that your output and recommended driver will most likely be different:

$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001C03sv00001043sd000085ABbc03sc00i00
vendor   : NVIDIA Corporation
model    : GP106 [GeForce GTX 1060 6GB]
driver   : nvidia-driver-390 - distro non-free
driver   : nvidia-driver-435 - distro non-free
driver   : nvidia-driver-440 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

If you agree with the recommendation feel free to use the ubuntu-drivers command again to install all recommended drivers:

$ sudo ubuntu-drivers autoinstall

Alternatively, install desired driver selectively using the apt command. For example:

$ sudo apt install [driver-name]

Once the installation is done, some drivers require you to reboot the system.

$ sudo reboot

If you get the below error while running the ubuntu-drivers command:

ubuntu-drivers: command not found

you may try installing the ubuntu-drivers-common package using the below command:

$ sudo apt-get install ubuntu-drivers-common

Filed Under: Linux, Ubuntu

Some more articles you might also be interested in …

  1. lshw: command not found
  2. a2query Command Examples in Linux
  3. Error: Can’t open display: hostname:x.y when running xclock
  4. htop (interactive process viewer) Linux Performance Monitoring tool
  5. blkid: command not found
  6. Yum Command Fails with “Another app is currently holding the yum lock” in CentOS/ RHEL 7
  7. hostnamectl Command Examples in Linux
  8. How to blacklist a local disk using the “find_multipaths” directive in CentOS/RHEL 6
  9. gedit: command not found
  10. calcurse: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • raw: command not found
  • raw Command Examples in Linux
  • rankmirrors Command Examples in Linux
  • radeontop: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright