How To Install libnvidia-common-450 on Ubuntu 20.04

In this tutorial we learn how to install libnvidia-common-450 on Ubuntu 20.04. libnvidia-common-450 is Transitional package for libnvidia-common-460 Shared files used by the NVIDIA libraries

Introduction

In this tutorial we learn how to install libnvidia-common-450 on Ubuntu 20.04.

What is libnvidia-common-450

libnvidia-common-450 is:

This is a transitional package for libnvidia-common-460, and can be safely removed after the installation is complete.

Package: libnvidia-common-450 Architecture: all Version: 450.119.03-0ubuntu0.20.04.1 Multi-Arch: foreign Priority: optional Section: restricted/libs Source: nvidia-graphics-drivers-450 Origin: Ubuntu Maintainer: Ubuntu Core Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 35 Provides: libnvidia-common Conflicts: libnvidia-common Breaks: libnvidia-gl-450 (« 390.25-0ubuntu2~) Replaces: libnvidia-common, libnvidia-gl-450 (« 390.25-0ubuntu2~) Filename: pool/restricted/n/nvidia-graphics-drivers-450/libnvidia-common-450_450.119.03-0ubuntu0.20.04.1_all.deb Size: 10028 MD5sum: 65a1042fcfd62ce7201512eff5e848c1 SHA1: 1a094f940346431c77ac0b9aef0cc24a633f2a39 SHA256: 5b3eddf18089534349841dcb9c7319e5ab94c707886244bcf7fd9c9521994dee SHA512: 8c2508694ad42e03f8566c2bdef6d71f0537cb007a847f759bc87cf78d37d61fd74740833db8644ccab5d7e219b202f86b45a9525b268c2a8c1a1485ba5521ce Homepage: http://www.nvidia.com Description-en: Shared files used by the NVIDIA libraries This package provides a set of files that are required by the NVIDIA libraries.

There are three methods to install libnvidia-common-450 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 libnvidia-common-450 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libnvidia-common-450

Install libnvidia-common-450 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libnvidia-common-450

Install libnvidia-common-450 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 libnvidia-common-450 using aptitude by running the following command:

sudo aptitude -y install libnvidia-common-450

How To Uninstall libnvidia-common-450 on Ubuntu 20.04

To uninstall only the libnvidia-common-450 package we can use the following command:

sudo apt-get remove libnvidia-common-450

Uninstall libnvidia-common-450 And Its Dependencies

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

sudo apt-get -y autoremove libnvidia-common-450

Remove libnvidia-common-450 Configurations and Data

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

sudo apt-get -y purge libnvidia-common-450

Remove libnvidia-common-450 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libnvidia-common-450

References

Summary

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