How To Install nvidia-384-dev on Ubuntu 20.04

In this tutorial we learn how to install nvidia-384-dev on Ubuntu 20.04. nvidia-384-dev is Transitional package for nvidia-driver-390 Transitional package for nvidia-driver-390

Introduction

In this tutorial we learn how to install nvidia-384-dev on Ubuntu 20.04.

What is nvidia-384-dev

nvidia-384-dev is:

This is a transitional package for nvidia-driver-390, and can be safely removed after the installation is complete.

Package: nvidia-384-dev Architecture: amd64 Version: 390.132-0ubuntu2 Priority: optional Section: restricted/misc Source: nvidia-graphics-drivers-390 Origin: Ubuntu Maintainer: Ubuntu Core Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 22 Depends: nvidia-driver-390 Filename: pool/restricted/n/nvidia-graphics-drivers-390/nvidia-384-dev_390.132-0ubuntu2_amd64.deb Size: 7564 MD5sum: 31369a354a645c43d79aee8a30a7837f SHA1: b3773a9836bc344d4a2900005bdc1004ab9a0290 SHA256: a5b7e63f15e7d98b2cd1a2f559d20e3cdaed3fc8ccadec936e2f6b0d3e26f388 Homepage: http://www.nvidia.com Description-en: Transitional package for nvidia-driver-390 This is a transitional package for nvidia-driver-390, and can be safely removed after the installation is complete.

There are three methods to install nvidia-384-dev 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 nvidia-384-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install nvidia-384-dev using apt-get by running the following command:

sudo apt-get -y install nvidia-384-dev

Install nvidia-384-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nvidia-384-dev using apt by running the following command:

sudo apt -y install nvidia-384-dev

Install nvidia-384-dev 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 nvidia-384-dev using aptitude by running the following command:

sudo aptitude -y install nvidia-384-dev

How To Uninstall nvidia-384-dev on Ubuntu 20.04

To uninstall only the nvidia-384-dev package we can use the following command:

sudo apt-get remove nvidia-384-dev

Uninstall nvidia-384-dev And Its Dependencies

To uninstall nvidia-384-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove nvidia-384-dev

Remove nvidia-384-dev Configurations and Data

To remove nvidia-384-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge nvidia-384-dev

Remove nvidia-384-dev configuration, data, and all of its dependencies

We can use the following command to remove nvidia-384-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge nvidia-384-dev

References

Summary

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