ubuntu-drivers
Manage Ubuntu hardware driver packages
TLDR
List available drivers for current hardware
$ sudo ubuntu-drivers list
Install all recommended drivers$ sudo ubuntu-drivers install
Install a specific driver$ sudo ubuntu-drivers install nvidia-driver-535
Display help$ ubuntu-drivers --help
Show devices and available drivers$ ubuntu-drivers devices
List only recommended drivers$ ubuntu-drivers list --recommended
List GPGPU (server) drivers$ ubuntu-drivers list --gpgpu
Install only free drivers$ sudo ubuntu-drivers install --free-only
SYNOPSIS
ubuntu-drivers [options] command
DESCRIPTION
ubuntu-drivers is a utility for managing driver packages on Ubuntu systems. It detects hardware that requires proprietary or additional drivers and can automatically install the recommended drivers.
PARAMETERS
list
List recommended driver packages for detected hardwareinstall
Install recommended drivers for all detected hardwareinstall DRIVER
Install a specific driver packagedevices
Show devices and available driversautoinstall
Install drivers automatically (used during system installation).debug
Print debug information for troubleshooting.--gpgpu
Operate on GPGPU/server drivers (for compute workloads, not display). Use with list or install.--recommended
Restrict list/install to recommended drivers only.--free-only
Only consider free (non-proprietary) packages.--package-list FILE
Write the list of selected packages to FILE (used by installers).
CAVEATS
Requires root privileges for installation. A system restart is typically required after driver installation. For NVIDIA drivers, this tool is the recommended method on Ubuntu systems.
HISTORY
ubuntu-drivers is developed by Canonical as part of Ubuntu's device driver management system, simplifying the process of finding and installing hardware drivers.
SEE ALSO
apt(8), dpkg(1), nvidia-smi(1)
