How To Install python3-email-validator on AlmaLinux 8
Introduction
In this tutorial we learn how to install python3-email-validator
on AlmaLinux 8.
What is python3-email-validator
This library validates that address are of the form [email protected]. This is the sort of validation you would want for a login form on a website. Key features - Good for validating email addresses used for logins/identity. - Friendly error messages when validation fails (appropriate to show to end users). - (optionally) Checks deliverability - Supports internationalized domain names and (optionally) internationalized local parts. - Normalizes email addresses (important for internationalized addresses!).
We can use yum
or dnf
to install python3-email-validator
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-email-validator.
Install python3-email-validator 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-email-validator
using dnf
by running the following command:
sudo dnf -y install python3-email-validator
Install python3-email-validator 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-email-validator
using yum
by running the following command:
sudo yum -y install python3-email-validator
How To Uninstall python3-email-validator on AlmaLinux 8
To uninstall only the python3-email-validator
package we can use the following command:
sudo dnf remove python3-email-validator
References
Summary
In this tutorial we learn how to install python3-email-validator
on AlmaLinux 8 using yum and dnf.