How To Install rav1e on Debian 12

Learn how to install rav1e on Debian 12 with this tutorial. rav1e is Fastest and safest AV1 encoder - command line encoder

Introduction

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

What is rav1e

rav1e is:

rav1e is a encoder for the AV1 video codec. It supports the following features:

  • Intra, inter, and switch frames
  • 64x64 superblocks
  • 4x4 to 64x64 RDO-selected square and rectangular blocks
  • DC, H, V, Paeth, smooth, and all directional prediction modes
  • DCT, (FLIP-)ADST and identity transforms (up to 64x64, 16x16 and 32x32 respectively)
  • 8-, 10- and 12-bit depth color
  • 4:2:0, 4:2:2 and 4:4:4 chroma sampling
  • 11 speed settings (0-10, exhaustive to near real-time)
  • Constant quantizer and target bitrate (single- and multi-pass) encoding modes
  • Still picture mode

This package contains the command line encoder.

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

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

sudo apt-get update

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

sudo apt-get -y install rav1e

Install rav1e Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install rav1e

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

sudo aptitude -y install rav1e

How To Uninstall rav1e on Debian 12

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

sudo apt-get remove rav1e

Uninstall rav1e And Its Dependencies

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

sudo apt-get -y autoremove rav1e

Remove rav1e Configurations and Data

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

sudo apt-get -y purge rav1e

Remove rav1e configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge rav1e

Dependencies

rav1e have the following dependencies:

References

Summary

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