How To Install libplb-dev on Ubuntu 18.04

In this tutorial we learn how to install libplb-dev on Ubuntu 18.04. libplb-dev is CFD solver based on the lattice Boltzmann method. Development files

Introduction

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

What is libplb-dev

libplb-dev is:

A software tool for classical CFD, particle-based models and complex physical interaction, Palabos offers a powerful environment for your fluid flow simulations.

Through the innovative matrix-based interface, setting up a massively parallel simulation or developing a new physical model has become simpler than ever. The package contains development files.

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

sudo apt-get -y install libplb-dev

Install libplb-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libplb-dev

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

sudo aptitude -y install libplb-dev

How To Uninstall libplb-dev on Ubuntu 18.04

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

sudo apt-get remove libplb-dev

Uninstall libplb-dev And Its Dependencies

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

sudo apt-get -y autoremove libplb-dev

Remove libplb-dev Configurations and Data

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

sudo apt-get -y purge libplb-dev

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

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

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

References

Summary

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