How To Install libnvcuvid1 on Debian 12

Learn how to install libnvcuvid1 on Debian 12 with this tutorial. libnvcuvid1 is NVIDIA CUDA Video Decoder runtime library

Introduction

In this tutorial we learn how to install libnvcuvid1 on Debian 12.

What is libnvcuvid1

libnvcuvid1 is:

The Compute Unified Device Architecture (CUDA) enables NVIDIA graphics processing units (GPUs) to be used for massively parallel general purpose computation.

The NVIDIA CUDA Video Decoder (NVCUVID) library provides an interface to hardware video decoding capabilities on NVIDIA GPUs with CUDA.

This package contains the nvcuvid runtime library.

There are three methods to install libnvcuvid1 on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libnvcuvid1 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libnvcuvid1

Install libnvcuvid1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libnvcuvid1 using apt by running the following command:

sudo apt -y install libnvcuvid1

Install libnvcuvid1 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libnvcuvid1 using aptitude by running the following command:

sudo aptitude -y install libnvcuvid1

How To Uninstall libnvcuvid1 on Debian 12

To uninstall only the libnvcuvid1 package we can use the following command:

sudo apt-get remove libnvcuvid1

Uninstall libnvcuvid1 And Its Dependencies

To uninstall libnvcuvid1 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libnvcuvid1

Remove libnvcuvid1 Configurations and Data

To remove libnvcuvid1 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libnvcuvid1

Remove libnvcuvid1 configuration, data, and all of its dependencies

We can use the following command to remove libnvcuvid1 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libnvcuvid1

Dependencies

libnvcuvid1 have the following dependencies:

References

Summary

In this tutorial we learn how to install libnvcuvid1 package on Debian 12 using different package management tools: apt, apt-get and aptitude.