How To Install libnvidia-compute-435 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libnvidia-compute-435
on Ubuntu 20.04.
What is libnvidia-compute-435
libnvidia-compute-435 is:
This is a transitional package for libnvidia-compute-455, and can be safely removed after the installation is complete.
Package: libnvidia-compute-435 Architecture: amd64 Version: 435.21-0ubuntu7 Multi-Arch: same Priority: optional Section: restricted/libs Source: nvidia-graphics-drivers-435 Origin: Ubuntu Maintainer: Ubuntu Core Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 102683 Provides: libcuda-10.0-1, libcuda-10.1-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 (= 435.21-0ubuntu7), libnvidia-ml1 (= 435.21-0ubuntu7), nvidia-opencl-icd, opencl-icd Depends: libc6 (>= 2.7) Conflicts: libcuda-10.0-1, libcuda-10.1-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-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-435 (« 390.25-0ubuntu2~), nvidia-opencl-icd Filename: pool/restricted/n/nvidia-graphics-drivers-435/libnvidia-compute-435_435.21-0ubuntu7_amd64.deb Size: 20403788 MD5sum: 178cb552e02dbaf25b055516003d6bbc SHA1: 68e8c49bcbfe10d0cf05007cc88127809ed5052f SHA256: 82a9b69ff7700c57b8d142afb9a46c7089845e6accf7237e3ac88e89603eef65 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-435
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-435 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-435
using apt-get
by running the following command:
sudo apt-get -y install libnvidia-compute-435
Install libnvidia-compute-435 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libnvidia-compute-435
using apt
by running the following command:
sudo apt -y install libnvidia-compute-435
Install libnvidia-compute-435 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-435
using aptitude
by running the following command:
sudo aptitude -y install libnvidia-compute-435
How To Uninstall libnvidia-compute-435 on Ubuntu 20.04
To uninstall only the libnvidia-compute-435
package we can use the following command:
sudo apt-get remove libnvidia-compute-435
Uninstall libnvidia-compute-435 And Its Dependencies
To uninstall libnvidia-compute-435
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-435
Remove libnvidia-compute-435 Configurations and Data
To remove libnvidia-compute-435
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libnvidia-compute-435
Remove libnvidia-compute-435 configuration, data, and all of its dependencies
We can use the following command to remove libnvidia-compute-435
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libnvidia-compute-435
References
Summary
In this tutorial we learn how to install libnvidia-compute-435
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.