How To Install pcp-pmda-infiniband on Debian 12
Introduction
In this tutorial we learn how to install pcp-pmda-infiniband on Debian 12.
What is pcp-pmda-infiniband
pcp-pmda-infiniband is:
Performance Metrics Domain Agent (PMDA) for collecting Infiniband statistics. By default, it monitors the local HCAs but can also be configured to monitor remote GUIDs such as IB switches.
There are three methods to install pcp-pmda-infiniband 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 pcp-pmda-infiniband Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install pcp-pmda-infiniband using apt-get by running the following command:
sudo apt-get -y install pcp-pmda-infiniband
Install pcp-pmda-infiniband Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install pcp-pmda-infiniband using apt by running the following command:
sudo apt -y install pcp-pmda-infiniband
Install pcp-pmda-infiniband 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 pcp-pmda-infiniband using aptitude by running the following command:
sudo aptitude -y install pcp-pmda-infiniband
How To Uninstall pcp-pmda-infiniband on Debian 12
To uninstall only the pcp-pmda-infiniband package we can use the following command:
sudo apt-get remove pcp-pmda-infiniband
Uninstall pcp-pmda-infiniband And Its Dependencies
To uninstall pcp-pmda-infiniband and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove pcp-pmda-infiniband
Remove pcp-pmda-infiniband Configurations and Data
To remove pcp-pmda-infiniband configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge pcp-pmda-infiniband
Remove pcp-pmda-infiniband configuration, data, and all of its dependencies
We can use the following command to remove pcp-pmda-infiniband configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pcp-pmda-infiniband
Dependencies
pcp-pmda-infiniband have the following dependencies:
References
Summary
In this tutorial we learn how to install pcp-pmda-infiniband package on Debian 12 using different package management tools: apt, apt-get and aptitude.