How To Install libpgm-dev on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 430 words
Introduction
In this tutorial we learn how to install libpgm-dev
on Ubuntu.
What is libpgm-dev
libpgm-dev is:
OpenPGM is an open source implementation of the Pragmatic General Multicast (PGM) specification in RFC 3208 available at www.ietf.org. PGM is a reliable and scalable multicast protocol that enables receivers to detect loss, request retransmission of lost data, or notify an application of unrecoverable loss. PGM is a receiver-reliable protocol, which means the receiver is responsible for ensuring all data is received, absolving the sender of reception responsibility. PGM runs over a best effort datagram service, currently OpenPGM uses IP multicast but could be implemented above switched fabrics such as InfiniBand.
This is the development package which contains headers and static libraries for the OpenPGM library.
There are three methods to install libpgm-dev
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libpgm-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 libpgm-dev
using apt-get
by running the following command:
sudo apt-get -y install libpgm-dev
Install libpgm-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpgm-dev
using apt
by running the following command:
sudo apt -y install libpgm-dev
Install libpgm-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libpgm-dev
using aptitude
by running the following command:
sudo aptitude -y install libpgm-dev
How To Uninstall libpgm-dev on Ubuntu
To uninstall only the libpgm-dev
package we can use the following command:
sudo apt-get remove libpgm-dev
Uninstall libpgm-dev And Its Dependencies
To uninstall libpgm-dev
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove libpgm-dev
Remove libpgm-dev Configurations and Data
To remove libpgm-dev
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge libpgm-dev
Remove libpgm-dev configuration, data, and all of its dependencies
We can use the following command to remove libpgm-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpgm-dev
Dependencies
libpgm-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libpgm-dev
package on Ubuntu using different package management tools: apt, apt-get and aptitude.