How To Install python3-pymod2pkg on AlmaLinux 8

In this tutorial we learn how to install python3-pymod2pkg in AlmaLinux 8. python3-pymod2pkg is python module name to package name map

Introduction

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

What is python3-pymod2pkg

pymod2pkg provides simple python function to translate python module names to their corresponding distro package names. This is a Python3 version.

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

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

sudo dnf -y install python3-pymod2pkg

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

sudo yum -y install python3-pymod2pkg

How To Uninstall python3-pymod2pkg on AlmaLinux 8

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

sudo dnf remove python3-pymod2pkg

References

Summary

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