How To Install librem-dev on Debian 12

Learn how to install librem-dev on Debian 12 with this tutorial. librem-dev is library for real-time audio and video processing (development)

Introduction

In this tutorial we learn how to install librem-dev on Debian 12.

What is librem-dev

librem-dev is:

A compact, portable and generic library for realtime audio and video processing.

Library has following features:

  • Audio buffering, mixing, codecs and resampling
  • Video mixing, rescaling and pixel format conversion

Library was designed with following goals:

  • Portable POSIX source code (ANSI C89 and ISO C99 standard)
  • Intelligent and user friendly APIs
  • Robust, fast, low memory footprint

This package provides required development header files which allows integrating librem with your application.

There are three methods to install librem-dev 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 librem-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 librem-dev using apt-get by running the following command:

sudo apt-get -y install librem-dev

Install librem-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librem-dev

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

sudo aptitude -y install librem-dev

How To Uninstall librem-dev on Debian 12

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

sudo apt-get remove librem-dev

Uninstall librem-dev And Its Dependencies

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

sudo apt-get -y autoremove librem-dev

Remove librem-dev Configurations and Data

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

sudo apt-get -y purge librem-dev

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

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

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

Dependencies

librem-dev have the following dependencies:

References

Summary

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