How To Install libnvidia-compute-440 on Ubuntu 20.04

In this tutorial we learn how to install libnvidia-compute-440 on Ubuntu 20.04. libnvidia-compute-440 is Transitional package for libnvidia-compute-450 NVIDIA libcompute package

Introduction

In this tutorial we learn how to install libnvidia-compute-440 on Ubuntu 20.04.

What is libnvidia-compute-440

libnvidia-compute-440 is:

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

Package: libnvidia-compute-440 Architecture: amd64 Version: 440.82+really.440.64-0ubuntu6 Multi-Arch: same Priority: optional Section: restricted/libs Source: nvidia-graphics-drivers-440 Origin: Ubuntu Maintainer: Ubuntu Core Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 104138 Provides: libcuda-10.0-1, libcuda-10.1-1, libcuda-10.2-1, libcuda-5.0-1, libcuda-5.5-1, libcuda-6.0-1, libcuda-6.5-1, libcuda-7.0-1, libcuda-7.5-1, libcuda-8.0-1, libcuda-9.0-1, libcuda-9.1-1, libcuda-9.2-1, libcuda1 (= 440.82+really.440.64-0ubuntu6), libnvidia-ml1 (= 440.82+really.440.64-0ubuntu6), nvidia-opencl-icd, opencl-icd Depends: libc6 (>= 2.7) Conflicts: libcuda-10.0-1, libcuda-10.1-1, libcuda-10.2-1, libcuda-5.0-1, libcuda-5.5-1, libcuda-6.0-1, libcuda-6.5-1, libcuda-7.0-1, libcuda-7.5-1, libcuda-8.0-1, libcuda-9.0-1, libcuda-9.1-1, libcuda-9.2-1, nvidia-opencl-icd Replaces: libcuda-10.0-1, libcuda-10.1-1, libcuda-10.2-1, libcuda-5.0-1, libcuda-5.5-1, libcuda-6.0-1, libcuda-6.5-1, libcuda-7.0-1, libcuda-7.5-1, libcuda-8.0-1, libcuda-9.0-1, libcuda-9.1-1, libcuda-9.2-1, libnvidia-compute-440 (« 390.25-0ubuntu2~), nvidia-opencl-icd Filename: pool/restricted/n/nvidia-graphics-drivers-440/libnvidia-compute-440_440.82+really.440.64-0ubuntu6_amd64.deb Size: 20867712 MD5sum: 5991462bb136037dc7cfe6832943a3d8 SHA1: f33a5092a792f677f97bac8630bbdc59f0950cc1 SHA256: 37af8535ff379cabaf400a77abdeaf9d9daae954ca7ec7a39791beb4e4acd290 Homepage: http://www.nvidia.com Description-en: NVIDIA libcompute package This package provides a set of libraries which enable the NVIDIA driver to use GPUs for parallel general purpose computation through CUDA and OpenCL.

There are three methods to install libnvidia-compute-440 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-compute-440 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-compute-440 using apt-get by running the following command:

sudo apt-get -y install libnvidia-compute-440

Install libnvidia-compute-440 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libnvidia-compute-440

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

sudo aptitude -y install libnvidia-compute-440

How To Uninstall libnvidia-compute-440 on Ubuntu 20.04

To uninstall only the libnvidia-compute-440 package we can use the following command:

sudo apt-get remove libnvidia-compute-440

Uninstall libnvidia-compute-440 And Its Dependencies

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

sudo apt-get -y autoremove libnvidia-compute-440

Remove libnvidia-compute-440 Configurations and Data

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

sudo apt-get -y purge libnvidia-compute-440

Remove libnvidia-compute-440 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libnvidia-compute-440

References

Summary

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