LinuxCommandLibrary

ubuntu-drivers

Manage proprietary drivers for Ubuntu

TLDR

List available drivers for the current hardware

$ sudo ubuntu-drivers list
copy

Install drivers for detected hardware
$ sudo ubuntu-drivers install
copy

Display help
$ ubuntu-drivers
copy

SYNOPSIS

ubuntu-drivers [options] [command]

PARAMETERS

--help
    Displays help information and exits.

--version
    Displays the version number and exits.

devices
    Lists detected hardware and the drivers that can be installed.

debug
    Enable debug messages.

list
    Lists available driver packages.

devices
    Lists the detected devices

autoinstall
    Automatically installs recommended driver packages.

install
    Installs specific driver packages.

remove
    Removes an installed driver package.

DESCRIPTION

The `ubuntu-drivers` command provides a convenient interface for managing and installing hardware drivers on Ubuntu systems. It helps users identify recommended and available driver packages for their hardware, simplifying the process of installing proprietary drivers, particularly for graphics cards (like NVIDIA and AMD) and other devices that might require specific drivers for optimal performance or full functionality.
It can list recommended drivers, automatically install them, or provide a list of available drivers for more manual selection. The command aims to make the process of dealing with drivers less daunting for users of all skill levels, especially those who might not be comfortable manually downloading and installing drivers from the manufacturers' websites.
It relies on Ubuntu's repositories and driver packages, ensuring that drivers are compatible with the system and managed by the package management system (APT).

CAVEATS

The `ubuntu-drivers` command relies on the correct configuration of the system's APT repositories. Ensure that the necessary repositories (including restricted/proprietary repositories) are enabled for it to function correctly.
Installation of proprietary drivers may introduce stability or compatibility issues in some cases.

EXAMPLES

Example 1: List available drivers
ubuntu-drivers list

Example 2: Auto install recommended drivers
ubuntu-drivers autoinstall

Example 3: List detected devices
ubuntu-drivers devices

HISTORY

The `ubuntu-drivers` command was developed as part of Ubuntu's efforts to simplify driver management and provide a more user-friendly experience for installing proprietary drivers.
Before its introduction, users often had to manually download drivers from manufacturers' websites or rely on third-party tools.
The command provides a standardized and supported way to install drivers directly from Ubuntu's repositories, ensuring better integration and maintainability.

SEE ALSO

apt(8), dkms(8)

Copied to clipboard