How To Install python-simpy3 on Debian 10
Introduction
In this tutorial we learn how to install python-simpy3
on Debian 10.
What is python-simpy3
python-simpy3 is:
SimPy is a process-based discrete-event simulation language based on standard Python.
Its event dispatcher is based on Python??s generators and can also be used for asynchronous networking or to implement multi-agent systems (with both, simulated and real communication). Processes in SimPy are defined by Python generator functions and can, for example, be used to model active components like customers, vehicles or agents. SimPy also provides various types of shared resources to model limited capacity congestion points (like servers, checkout counters and tunnels).
This package contains SimPy 3, which has conceptual and API changes from the previous version SimPy 2.
There are three methods to install python-simpy3
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 python-simpy3 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python-simpy3
using apt-get
by running the following command:
sudo apt-get -y install python-simpy3
Install python-simpy3 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-simpy3
using apt
by running the following command:
sudo apt -y install python-simpy3
Install python-simpy3 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 python-simpy3
using aptitude
by running the following command:
sudo aptitude -y install python-simpy3
How To Uninstall python-simpy3 on Debian 10
To uninstall only the python-simpy3
package we can use the following command:
sudo apt-get remove python-simpy3
Uninstall python-simpy3 And Its Dependencies
To uninstall python-simpy3
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python-simpy3
Remove python-simpy3 Configurations and Data
To remove python-simpy3
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python-simpy3
Remove python-simpy3 configuration, data, and all of its dependencies
We can use the following command to remove python-simpy3
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-simpy3
Dependencies
python-simpy3 have the following dependencies:
References
Summary
In this tutorial we learn how to install python-simpy3
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.