How To Install libpmix-dev on Ubuntu 18.04

In this tutorial we learn how to install libpmix-dev on Ubuntu 18.04. libpmix-dev is Development files for the PMI Exascale library

Introduction

In this tutorial we learn how to install libpmix-dev on Ubuntu 18.04.

What is libpmix-dev

libpmix-dev is:

This is the OpenMPI implementation of the Process Management Interface (PMI) Exascale API. PMIx aims to retain transparent compatibility with the existing PMI-1 and PMI-2 definitions, and any future PMI releases; Support the Instant On initiative for rapid startup of applications at exascale and beyond.

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

sudo apt-get -y install libpmix-dev

Install libpmix-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpmix-dev

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

sudo aptitude -y install libpmix-dev

How To Uninstall libpmix-dev on Ubuntu 18.04

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

sudo apt-get remove libpmix-dev

Uninstall libpmix-dev And Its Dependencies

To uninstall libpmix-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libpmix-dev

Remove libpmix-dev Configurations and Data

To remove libpmix-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libpmix-dev

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

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

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

References

Summary

In this tutorial we learn how to install libpmix-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.