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