Use the Additional Drivers tool in Ubuntu to install Proprietary Drivers in Linux Ubuntu Systems using Terminal using Ubuntu-drivers autoinstall command.
Before you begin, you must check the current Drivers installed on the system. This is often the safest way to identify hardware before installing the drivers. To do so, run the following commands:
lspci
or
lsusb
or
lsmod
or for detailed information, run:
sudo lshw -c display
or
ubuntu-drivers devices
Method 1: Install Drivers in Ubuntu vai GUI
- Open Software & Updates and navigate to the Additional Drivers tab.
- Here, you will see the recommended drivers (proprietary and tested ones).
- Ubuntu System will automatically scan for the available proprietary drivers
- Once done, select the recommended driver and click Apply Changes
- Reboot the system.
Method 2: Install Drivers in Ubuntu via Terminal (Commandline)
Open Terminal and run the following command to automatically install all the recommended drivers (the best available proprietary drivers):
sudo ubuntu-drivers autoinstall
You can also install the specific drivers using the command-line interface. For example to install the latest recommended nvidia driver which is nvidia-driver-470, run the following command in the terminal.
sudo apt install nvidia-driver-470
or
sudo ubuntu-drivers install nvidia:470
After the installation, reboot the system.
NOTE: You can search for all the available drivers using the command “ubuntu-drivers devices”.
Update Drivers
You can easily update the drivers with system updates. Simply, run:
sudo apt update && sudo apt upgrade
This is how to update and install drivers in Linux Ubuntu System.
You can also follow the NVIDIA drivers installation Page (Official) which shows how to install the NVIDIA drivers from the command line, using either the ubuntu-drivers tool (recommended), or APT.
