How To Install dav1d on Debian 12

Learn how to install dav1d on Debian 12 with this tutorial. dav1d is fast and small AV1 video stream decoder

Introduction

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

What is dav1d

dav1d is:

dav1d is an AOMedia Video 1 (AV1) cross-platform decoder and focused on speed and correctness.

dav1d supports the following features:

  • support for all features of the AV1 bitstream
  • support for all bitdepth, 8, 10 and 12bits
  • support for all chroma subsamplings 4:2:0, 4:2:2, 4:4:4 and grayscale
  • full acceleration for AVX-2 chips
  • full acceleration for SSSE3+ chips
  • full acceleration for ARMv8 chips
  • partial acceleration for ARMv7 chips

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

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

sudo apt-get update

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

sudo apt-get -y install dav1d

Install dav1d Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dav1d

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

sudo aptitude -y install dav1d

How To Uninstall dav1d on Debian 12

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

sudo apt-get remove dav1d

Uninstall dav1d And Its Dependencies

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

sudo apt-get -y autoremove dav1d

Remove dav1d Configurations and Data

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

sudo apt-get -y purge dav1d

Remove dav1d configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dav1d

Dependencies

dav1d have the following dependencies:

References

Summary

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