How To Install libmrmpi-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libmrmpi-dev
on Ubuntu 20.04.
What is libmrmpi-dev
libmrmpi-dev 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 development files needed to build MapReduce-MPI applications.
There are three methods to install libmrmpi-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 libmrmpi-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 libmrmpi-dev
using apt-get
by running the following command:
sudo apt-get -y install libmrmpi-dev
Install libmrmpi-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmrmpi-dev
using apt
by running the following command:
sudo apt -y install libmrmpi-dev
Install libmrmpi-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 libmrmpi-dev
using aptitude
by running the following command:
sudo aptitude -y install libmrmpi-dev
How To Uninstall libmrmpi-dev on Ubuntu 20.04
To uninstall only the libmrmpi-dev
package we can use the following command:
sudo apt-get remove libmrmpi-dev
Uninstall libmrmpi-dev And Its Dependencies
To uninstall libmrmpi-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libmrmpi-dev
Remove libmrmpi-dev Configurations and Data
To remove libmrmpi-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libmrmpi-dev
Remove libmrmpi-dev configuration, data, and all of its dependencies
We can use the following command to remove libmrmpi-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmrmpi-dev
References
Summary
In this tutorial we learn how to install libmrmpi-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.