How To Install libqrtr-dev on Debian 12

Learn how to install libqrtr-dev on Debian 12 with this tutorial. libqrtr-dev is Userspace reference for QRTR – development files

Introduction

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

What is libqrtr-dev

libqrtr-dev is:

QRTR is Qualcomm’s IPC Router protocol, used for communicating with services provided by remote processors. It is mandatory for taking advantage of most features of recent Qualcomm SoCs, such as Wi-Fi, cellular modem, sensors…

This package contains the development files.

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

sudo apt-get -y install libqrtr-dev

Install libqrtr-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libqrtr-dev

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

sudo aptitude -y install libqrtr-dev

How To Uninstall libqrtr-dev on Debian 12

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

sudo apt-get remove libqrtr-dev

Uninstall libqrtr-dev And Its Dependencies

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

sudo apt-get -y autoremove libqrtr-dev

Remove libqrtr-dev Configurations and Data

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

sudo apt-get -y purge libqrtr-dev

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

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

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

Dependencies

libqrtr-dev have the following dependencies:

References

Summary

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