How To Install python2-ecdsa on AlmaLinux 8
Introduction
In this tutorial we learn how to install python2-ecdsa
on AlmaLinux 8.
What is python2-ecdsa
This is an easy-to-use implementation of ECDSA cryptography (Elliptic Curve Digital Signature Algorithm), implemented purely in Python, released under the MIT license. With this library, you can quickly create keypairs (signing key and verifying key), sign messages, and verify the signatures. The keys and signatures are very short, making them easy to handle and incorporate into other protocols.
We can use yum
or dnf
to install python2-ecdsa
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python2-ecdsa.
Install python2-ecdsa 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 python2-ecdsa
using dnf
by running the following command:
sudo dnf -y install python2-ecdsa
Install python2-ecdsa 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 python2-ecdsa
using yum
by running the following command:
sudo yum -y install python2-ecdsa
How To Uninstall python2-ecdsa on AlmaLinux 8
To uninstall only the python2-ecdsa
package we can use the following command:
sudo dnf remove python2-ecdsa
References
Summary
In this tutorial we learn how to install python2-ecdsa
on AlmaLinux 8 using yum and dnf.