How To Install python3-storm on Ubuntu 22.04
Introduction
In this tutorial we learn how to install python3-storm
on Ubuntu 22.04.
What is python3-storm
python3-storm is:
Storm is an object-relational mapper (ORM) for the Python language. In simple terms, that kind of system allows rows from a relational database to be seen as objects in an object-oriented language like Python.
Features:
- Clean and lightweight API offers a short learning curve and long-term maintainability.
- Storm is developed in a test-driven manner. An untested line of code is considered a bug.
- Storm needs no special class constructors, nor imperative base classes.
- Storm is well designed (different classes have very clear boundaries, with small and clean public APIs).
- Designed from day one to work both with thin relational databases, such as SQLite, and big iron systems like PostgreSQL and MySQL.
- Storm is easy to debug, since its code is written with a KISS principle, and thus is easy to understand.
- Designed from day one to work both at the low end, with trivial small databases, and the high end, with applications accessing billion row tables and committing to multiple database backends.
- It’s very easy to write and support backends for Storm (current backends have around 100 lines of code).
There are three methods to install python3-storm
on Ubuntu 22.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 python3-storm Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python3-storm
using apt-get
by running the following command:
sudo apt-get -y install python3-storm
Install python3-storm Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python3-storm
using apt
by running the following command:
sudo apt -y install python3-storm
Install python3-storm 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 python3-storm
using aptitude
by running the following command:
sudo aptitude -y install python3-storm
How To Uninstall python3-storm on Ubuntu 22.04
To uninstall only the python3-storm
package we can use the following command:
sudo apt-get remove python3-storm
Uninstall python3-storm And Its Dependencies
To uninstall python3-storm
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove python3-storm
Remove python3-storm Configurations and Data
To remove python3-storm
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge python3-storm
Remove python3-storm configuration, data, and all of its dependencies
We can use the following command to remove python3-storm
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-storm
References
Summary
In this tutorial we learn how to install python3-storm
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.