How To Install ubuntu-drivers-common on Ubuntu 20.04

In this tutorial we learn how to install ubuntu-drivers-common on Ubuntu 20.04. ubuntu-drivers-common is Detect and install additional Ubuntu driver packages Detect and install additional Ubuntu driver packages Detect and install additional Ubuntu driver packages

Introduction

In this tutorial we learn how to install ubuntu-drivers-common on Ubuntu 20.04.

What is ubuntu-drivers-common

ubuntu-drivers-common is:

This package aggregates and abstracts Ubuntu specific logic and knowledge about third-party driver packages. It provides:

  • a Python API for detecting driver packages for a particular piece of hardware or the whole system.

  • an “ubuntu-drivers” command line tool to list or install driver packages (mostly for integration in installers).

  • some NVidia specific support code to find the most appropriate driver version, as well as setting up the alternatives symlinks that the proprietary NVidia and FGLRX packages use. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: ubuntu-drivers-common Status: install ok installed Priority: optional Section: admin Installed-Size: 272 Maintainer: Ubuntu Developers [email protected] Architecture: amd64 Version: 1:0.8.6.5~0.20.04.1 Replaces: jockey-common, jockey-gtk, jockey-kde, nvidia-common (« 1:0.2.46) Provides: jockey-common, jockey-gtk, jockey-kde, nvidia-common Depends: python3:any (>= 3.2~), debconf (>= 0.5.00) | debconf-2.0, libc6 (>= 2.29), libdrm2 (>= 2.3.1), libkmod2 (>= 5~), libpci3 (>= 1:3.5.1), python3-apt, python3-xkit, python3-click, udev (>= 204-0ubuntu4~), pciutils, usbutils, alsa-utils, kmod | module-init-tools Pre-Depends: dpkg (>= 1.15.7.2) Suggests: python3-aptdaemon.pkcompat Breaks: nvidia-prime (« 0.6) Conflicts: jockey-common, jockey-gtk, jockey-kde, nvidia-common (« 1:0.2.46) Description-en: Detect and install additional Ubuntu driver packages This package aggregates and abstracts Ubuntu specific logic and knowledge about third-party driver packages. It provides:

  • a Python API for detecting driver packages for a particular piece of hardware or the whole system.

  • an “ubuntu-drivers” command line tool to list or install driver packages (mostly for integration in installers).

  • some NVidia specific support code to find the most appropriate driver version, as well as setting up the alternatives symlinks that the proprietary NVidia and FGLRX packages use.

Package: ubuntu-drivers-common Architecture: amd64 Version: 1:0.8.1 Priority: optional Section: admin Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 236 Provides: jockey-common, jockey-gtk, jockey-kde, nvidia-common Pre-Depends: dpkg (>= 1.15.7.2) Depends: python3:any (>= 3.2~), debconf (>= 0.5.00) | debconf-2.0, libc6 (>= 2.14), libdrm2 (>= 2.3.1), libkmod2 (>= 5~), libpciaccess0 (>= 0.10.7), pciutils, python3-apt, python3-xkit, udev (>= 204-0ubuntu4~), usbutils, alsa-utils, kmod | module-init-tools Suggests: python3-aptdaemon.pkcompat Conflicts: jockey-common, jockey-gtk, jockey-kde, nvidia-common (« 1:0.2.46) Breaks: nvidia-prime (« 0.6) Replaces: jockey-common, jockey-gtk, jockey-kde, nvidia-common (« 1:0.2.46) Filename: pool/main/u/ubuntu-drivers-common/ubuntu-drivers-common_0.8.1_amd64.deb Size: 44572 MD5sum: ff7e7a1872572c3bb1027408f11d59c9 SHA1: 5d9e1618ac0193567e141de3ce9dfd7d42e53e5c SHA256: 7c74db49e3018fc3fef2de4d34fb09bfdf737b3808d4ae8fc355dec8e2414a27 Description-en: Detect and install additional Ubuntu driver packages This package aggregates and abstracts Ubuntu specific logic and knowledge about third-party driver packages. It provides:

  • a Python API for detecting driver packages for a particular piece of hardware or the whole system.

  • an “ubuntu-drivers” command line tool to list or install driver packages (mostly for integration in installers).

  • some NVidia specific support code to find the most appropriate driver version, as well as setting up the alternatives symlinks that the proprietary NVidia and FGLRX packages use. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install ubuntu-drivers-common on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ubuntu-drivers-common Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ubuntu-drivers-common using apt-get by running the following command:

sudo apt-get -y install ubuntu-drivers-common

Install ubuntu-drivers-common Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ubuntu-drivers-common using apt by running the following command:

sudo apt -y install ubuntu-drivers-common

Install ubuntu-drivers-common Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ubuntu-drivers-common using aptitude by running the following command:

sudo aptitude -y install ubuntu-drivers-common

How To Uninstall ubuntu-drivers-common on Ubuntu 20.04

To uninstall only the ubuntu-drivers-common package we can use the following command:

sudo apt-get remove ubuntu-drivers-common

Uninstall ubuntu-drivers-common And Its Dependencies

To uninstall ubuntu-drivers-common and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove ubuntu-drivers-common

Remove ubuntu-drivers-common Configurations and Data

To remove ubuntu-drivers-common configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ubuntu-drivers-common

Remove ubuntu-drivers-common configuration, data, and all of its dependencies

We can use the following command to remove ubuntu-drivers-common configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ubuntu-drivers-common

References

Summary

In this tutorial we learn how to install ubuntu-drivers-common package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.