How To Install python3-alembic on AlmaLinux 8
Introduction
In this tutorial we learn how to install python3-alembic
on AlmaLinux 8.
What is python3-alembic
Alembic is a new database migrations tool, written by the author of SQLAlchemy. A migrations tool offers the following functionality * Can emit ALTER statements to a database in order to change the structure of tables and other constructs. * Provides a system whereby “migration scripts” may be constructed; each script indicates a particular series of steps that can “upgrade” a target database to a new version, and optionally a series of steps that can “downgrade” similarly, doing the same steps in reverse. * Allows the scripts to execute in some sequential manner. Documentation and status of Alembic is at http
We can use yum
or dnf
to install python3-alembic
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-alembic.
Install python3-alembic on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-alembic
using dnf
by running the following command:
sudo dnf -y install python3-alembic
Install python3-alembic on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-alembic
using yum
by running the following command:
sudo yum -y install python3-alembic
How To Uninstall python3-alembic on AlmaLinux 8
To uninstall only the python3-alembic
package we can use the following command:
sudo dnf remove python3-alembic
References
Summary
In this tutorial we learn how to install python3-alembic
on AlmaLinux 8 using yum and dnf.