How To Install pacemaker-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install pacemaker-dev
on Ubuntu 20.04.
What is pacemaker-dev
pacemaker-dev is:
At its core, Pacemaker is a distributed finite state machine capable of co-ordinating the startup and recovery of inter-related services across a set of machines.
Pacemaker understands many different resource types (OCF, SYSV, systemd) and can accurately model the relationships between them (colocation, ordering).
It can even use technology such as Docker to automatically isolate the resources managed by the cluster.
This package contains the headers and other necessary files to build applications or libraries that use the Pacemaker libraries.
Package: pacemaker-dev Architecture: amd64 Version: 2.0.3-3ubuntu4.1 Multi-Arch: same Priority: optional Section: libdevel Source: pacemaker Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian HA Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 290 Depends: libcib27 (= 2.0.3-3ubuntu4.1), libcrmcluster29 (= 2.0.3-3ubuntu4.1), libcrmcommon34 (= 2.0.3-3ubuntu4.1), libcrmservice28 (= 2.0.3-3ubuntu4.1), liblrmd28 (= 2.0.3-3ubuntu4.1), libpe-rules26 (= 2.0.3-3ubuntu4.1), libpe-status28 (= 2.0.3-3ubuntu4.1), libstonithd26 (= 2.0.3-3ubuntu4.1), libcpg-dev, libglib2.0-dev, libqb-dev, libxml2-dev, libgnutls28-dev, libxslt1-dev, uuid-dev Breaks: libcib-dev (« 2), libcrmcluster-dev (« 2), libcrmcluster1-dev, libcrmcommon-dev (« 2), libcrmcommon2-dev, libcrmservice-dev (« 2), liblrmd-dev (« 2), libpengine-dev (« 2), libpengine3-dev, libstonithd-dev (« 2) Replaces: libcib-dev (« 2), libcrmcluster-dev (« 2), libcrmcluster1-dev, libcrmcommon-dev (« 2), libcrmcommon2-dev, libcrmservice-dev (« 2), liblrmd-dev (« 2), libpengine-dev (« 2), libpengine3-dev, libstonithd-dev (« 2) Filename: pool/main/p/pacemaker/pacemaker-dev_2.0.3-3ubuntu4.1_amd64.deb Size: 51676 MD5sum: cc86b2c854258a756f91d661f699f231 SHA1: a3ec0f955b1b233fce18097346ac8befe631c38f SHA256: a4dc3175eb1cf7d888af315a75e5430e331e88dd9a7a8d46754841e55c4a6809 SHA512: be04849a2853d46eb21119dcbea2effd9fb00679ecb30c5d1f8dee949329cc73afed6259eeb111bf14d4557871488449b3e2090f0efe88cb6af63e6c130c110e Homepage: https://www.clusterlabs.org/ Description-en: cluster resource manager development At its core, Pacemaker is a distributed finite state machine capable of co-ordinating the startup and recovery of inter-related services across a set of machines.
Pacemaker understands many different resource types (OCF, SYSV, systemd) and can accurately model the relationships between them (colocation, ordering).
It can even use technology such as Docker to automatically isolate the resources managed by the cluster.
This package contains the headers and other necessary files to build applications or libraries that use the Pacemaker libraries.
Package: pacemaker-dev Architecture: amd64 Version: 2.0.3-3ubuntu3 Multi-Arch: same Priority: optional Section: libdevel Source: pacemaker Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian HA Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 290 Depends: libcib27 (= 2.0.3-3ubuntu3), libcrmcluster29 (= 2.0.3-3ubuntu3), libcrmcommon34 (= 2.0.3-3ubuntu3), libcrmservice28 (= 2.0.3-3ubuntu3), liblrmd28 (= 2.0.3-3ubuntu3), libpe-rules26 (= 2.0.3-3ubuntu3), libpe-status28 (= 2.0.3-3ubuntu3), libstonithd26 (= 2.0.3-3ubuntu3), libcpg-dev, libglib2.0-dev, libqb-dev, libxml2-dev, libgnutls28-dev, libxslt1-dev, uuid-dev Breaks: libcib-dev (« 2), libcrmcluster-dev (« 2), libcrmcluster1-dev, libcrmcommon-dev (« 2), libcrmcommon2-dev, libcrmservice-dev (« 2), liblrmd-dev (« 2), libpengine-dev (« 2), libpengine3-dev, libstonithd-dev (« 2) Replaces: libcib-dev (« 2), libcrmcluster-dev (« 2), libcrmcluster1-dev, libcrmcommon-dev (« 2), libcrmcommon2-dev, libcrmservice-dev (« 2), liblrmd-dev (« 2), libpengine-dev (« 2), libpengine3-dev, libstonithd-dev (« 2) Filename: pool/main/p/pacemaker/pacemaker-dev_2.0.3-3ubuntu3_amd64.deb Size: 51692 MD5sum: 8be65afb8376626429347b247a4ddf35 SHA1: 60a16837da02ef51a1e44d0686bda7925e7f1fca SHA256: 1bbcac106a17c0189d92fea0535cffe2874ae090415e8ee3f6fa10dcdae2c8b6 Homepage: https://www.clusterlabs.org/ Description-en: cluster resource manager development At its core, Pacemaker is a distributed finite state machine capable of co-ordinating the startup and recovery of inter-related services across a set of machines.
Pacemaker understands many different resource types (OCF, SYSV, systemd) and can accurately model the relationships between them (colocation, ordering).
It can even use technology such as Docker to automatically isolate the resources managed by the cluster.
This package contains the headers and other necessary files to build applications or libraries that use the Pacemaker libraries.
There are three methods to install pacemaker-dev
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install pacemaker-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 pacemaker-dev
using apt-get
by running the following command:
sudo apt-get -y install pacemaker-dev
Install pacemaker-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pacemaker-dev
using apt
by running the following command:
sudo apt -y install pacemaker-dev
Install pacemaker-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 pacemaker-dev
using aptitude
by running the following command:
sudo aptitude -y install pacemaker-dev
How To Uninstall pacemaker-dev on Ubuntu 20.04
To uninstall only the pacemaker-dev
package we can use the following command:
sudo apt-get remove pacemaker-dev
Uninstall pacemaker-dev And Its Dependencies
To uninstall pacemaker-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove pacemaker-dev
Remove pacemaker-dev Configurations and Data
To remove pacemaker-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge pacemaker-dev
Remove pacemaker-dev configuration, data, and all of its dependencies
We can use the following command to remove pacemaker-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pacemaker-dev
References
Summary
In this tutorial we learn how to install pacemaker-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.