How To Install python3-periodictable on AlmaLinux 8

In this tutorial we learn how to install python3-periodictable in AlmaLinux 8. python3-periodictable is Extensible periodic table of the elements

Introduction

In this tutorial we learn how to install python3-periodictable on AlmaLinux 8.

What is python3-periodictable

This package provides a periodic table of the elements with support for mass, density and xray/neutron scattering information. Masses, densities and natural abundances come from the NIST Physics Laboratory, but do not represent a critical evaluation by NIST scientists. Neutron scattering calculations use values collected by the Atomic Institute of the Austrian Universities. These values do corresponding to those from other packages, though there are some differences depending to the tables used. Bound coherent neutron scattering for gold in particular is significantly different from older value easured in 1974 compared to 7.90(7) as measured in 1990. X-ray scattering calculations use a combination of empirical and theoretical values from the LBL Center for X-ray Optics. These values differ from those given in other sources such as the International Tables for Crystallography, Volume C, and so may give different results from other packages..

We can use yum or dnf to install python3-periodictable on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-periodictable.

Install python3-periodictable 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-periodictable using dnf by running the following command:

sudo dnf -y install python3-periodictable

Install python3-periodictable 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-periodictable using yum by running the following command:

sudo yum -y install python3-periodictable

How To Uninstall python3-periodictable on AlmaLinux 8

To uninstall only the python3-periodictable package we can use the following command:

sudo dnf remove python3-periodictable

References

Summary

In this tutorial we learn how to install python3-periodictable on AlmaLinux 8 using yum and dnf.