How To Install libxrootd-private-dev on Debian 11

In this tutorial we learn how to install libxrootd-private-dev on Debian 11. libxrootd-private-dev is Private xrootd headers

Introduction

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

What is libxrootd-private-dev

libxrootd-private-dev is:

This package contains some private xrootd headers. Backward and forward compatibility between versions is not guaranteed for these headers.

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

sudo apt-get -y install libxrootd-private-dev

Install libxrootd-private-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libxrootd-private-dev

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

sudo aptitude -y install libxrootd-private-dev

How To Uninstall libxrootd-private-dev on Debian 11

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

sudo apt-get remove libxrootd-private-dev

Uninstall libxrootd-private-dev And Its Dependencies

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

sudo apt-get -y autoremove libxrootd-private-dev

Remove libxrootd-private-dev Configurations and Data

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

sudo apt-get -y purge libxrootd-private-dev

Remove libxrootd-private-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libxrootd-private-dev

Dependencies

libxrootd-private-dev have the following dependencies:

References

Summary

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