How To Install libboost-mpi-python-dev on Debian 10

Learn how to install libboost-mpi-python-dev on Debian 10 with this tutorial. libboost-mpi-python-dev is C++ interface to the Message Passing Interface (MPI), Python Bindings (default version)

Introduction

In this tutorial we learn how to install libboost-mpi-python-dev on Debian 10.

What is libboost-mpi-python-dev

libboost-mpi-python-dev is:

This package forms part of the Boost C++ Libraries collection.

The Boost.MPI library provides a C++ interface to MPI that supports modern C++ development styles, including complete support for user-defined data types and C++ Standard Library types, arbitrary function objects for collective algorithms, and the use of modern C++ library techniques to maintain maximal efficiency.

This package provides Python Bindings to the C++ interface.

This package is a dependency package, which depends on Debian’s default Boost version (currently 1.67).

There are three methods to install libboost-mpi-python-dev on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libboost-mpi-python-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 libboost-mpi-python-dev using apt-get by running the following command:

sudo apt-get -y install libboost-mpi-python-dev

Install libboost-mpi-python-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libboost-mpi-python-dev

Install libboost-mpi-python-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libboost-mpi-python-dev using aptitude by running the following command:

sudo aptitude -y install libboost-mpi-python-dev

How To Uninstall libboost-mpi-python-dev on Debian 10

To uninstall only the libboost-mpi-python-dev package we can use the following command:

sudo apt-get remove libboost-mpi-python-dev

Uninstall libboost-mpi-python-dev And Its Dependencies

To uninstall libboost-mpi-python-dev and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libboost-mpi-python-dev

Remove libboost-mpi-python-dev Configurations and Data

To remove libboost-mpi-python-dev configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libboost-mpi-python-dev

Remove libboost-mpi-python-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libboost-mpi-python-dev

Dependencies

libboost-mpi-python-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libboost-mpi-python-dev package on Debian 10 using different package management tools: apt, apt-get and aptitude.