How To Install libmrmpi1 on Ubuntu 18.04

In this tutorial we learn how to install libmrmpi1 on Ubuntu 18.04. libmrmpi1 is Implements MapReduce operation on top of standard MPI message - runtime

Introduction

In this tutorial we learn how to install libmrmpi1 on Ubuntu 18.04.

What is libmrmpi1

libmrmpi1 is:

The MapReduce-MPI (MR-MPI) library is open-source software that implements the MapReduce operation popularized by Google on top of standard MPI message passing.

The MR-MPI library is written in C++ and is callable from hi-level languages such as C++, C, Fortran. A Python wrapper is also included, so MapReduce programs can be written in Python, including map() and reduce() user callback methods. A hi-level scripting interface to the MR-MPI library, called OINK, is also included which can be used to develop and chain MapReduce algorithms together in scripts with commands that simplify data management tasks. OINK has its own manual and doc pages.

This package contains the libraries needed to run MapReduce-MPI applications.

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

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

sudo apt-get update

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

sudo apt-get -y install libmrmpi1

Install libmrmpi1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libmrmpi1 using apt by running the following command:

sudo apt -y install libmrmpi1

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

sudo aptitude -y install libmrmpi1

How To Uninstall libmrmpi1 on Ubuntu 18.04

To uninstall only the libmrmpi1 package we can use the following command:

sudo apt-get remove libmrmpi1

Uninstall libmrmpi1 And Its Dependencies

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

sudo apt-get -y autoremove libmrmpi1

Remove libmrmpi1 Configurations and Data

To remove libmrmpi1 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libmrmpi1

Remove libmrmpi1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmrmpi1

References

Summary

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