How To Install libpmi1-pmix on Ubuntu 18.04

In this tutorial we learn how to install libpmi1-pmix on Ubuntu 18.04. libpmi1-pmix is OpenMPI implementation of the PMI v1 library

Introduction

In this tutorial we learn how to install libpmi1-pmix on Ubuntu 18.04.

What is libpmi1-pmix

libpmi1-pmix is:

This is the OpenMPI implementation of the Process Management Interface (PMI) API, v1.

There are three methods to install libpmi1-pmix 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 libpmi1-pmix Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libpmi1-pmix using apt-get by running the following command:

sudo apt-get -y install libpmi1-pmix

Install libpmi1-pmix Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpmi1-pmix

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

sudo aptitude -y install libpmi1-pmix

How To Uninstall libpmi1-pmix on Ubuntu 18.04

To uninstall only the libpmi1-pmix package we can use the following command:

sudo apt-get remove libpmi1-pmix

Uninstall libpmi1-pmix And Its Dependencies

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

sudo apt-get -y autoremove libpmi1-pmix

Remove libpmi1-pmix Configurations and Data

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

sudo apt-get -y purge libpmi1-pmix

Remove libpmi1-pmix configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpmi1-pmix

References

Summary

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