How To Install libvorbis-dev on Debian 11

In this tutorial we learn how to install libvorbis-dev on Debian 11. libvorbis-dev is development files for Vorbis General Audio Compression Codec

Introduction

In this tutorial we learn how to install libvorbis-dev on Debian 11.

What is libvorbis-dev

libvorbis-dev is:

Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed audio format for audio and music at fixed and variable bitrates from 16 to 128 kbps/channel.

This package contains the header files and documentation needed to develop applications with libvorbis.

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

Install libvorbis-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libvorbis-dev

Install libvorbis-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvorbis-dev

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

sudo aptitude -y install libvorbis-dev

How To Uninstall libvorbis-dev on Debian 11

To uninstall only the libvorbis-dev package we can use the following command:

sudo apt-get remove libvorbis-dev

Uninstall libvorbis-dev And Its Dependencies

To uninstall libvorbis-dev and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libvorbis-dev

Remove libvorbis-dev Configurations and Data

To remove libvorbis-dev configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libvorbis-dev

Remove libvorbis-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libvorbis-dev

Dependencies

libvorbis-dev have the following dependencies:

References

Summary

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