How To Install libsimgrid-dev on Ubuntu 18.04

In this tutorial we learn how to install libsimgrid-dev on Ubuntu 18.04. libsimgrid-dev is Development files for the SimGrid Toolkit

Introduction

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

What is libsimgrid-dev

libsimgrid-dev is:

SimGrid is a toolkit that provides core functionalities for the simulation of distributed applications in heterogeneous distributed environments. SimGrid can be used as a Grid simulator, a P2P simulator, a Cloud simulator, a MPI simulator, or a mix of all of them. The typical use-cases of SimGrid include heuristic evaluation, application prototyping, and real application development and tuning.

This package contains the development files that you need to build your own simulator on top of SimGrid (header files and helping scripts).

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

sudo apt-get -y install libsimgrid-dev

Install libsimgrid-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsimgrid-dev

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

sudo aptitude -y install libsimgrid-dev

How To Uninstall libsimgrid-dev on Ubuntu 18.04

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

sudo apt-get remove libsimgrid-dev

Uninstall libsimgrid-dev And Its Dependencies

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

sudo apt-get -y autoremove libsimgrid-dev

Remove libsimgrid-dev Configurations and Data

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

sudo apt-get -y purge libsimgrid-dev

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

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

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

References

Summary

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