How To Install hplip-common on AlmaLinux 8

In this tutorial we learn how to install hplip-common in AlmaLinux 8. hplip-common is Files needed by the HPLIP printer and scanner drivers

Introduction

In this tutorial we learn how to install hplip-common on AlmaLinux 8.

What is hplip-common

Files needed by the HPLIP printer and scanner drivers.

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

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

sudo dnf -y install hplip-common

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

sudo yum -y install hplip-common

How To Uninstall hplip-common on AlmaLinux 8

To uninstall only the hplip-common package we can use the following command:

sudo dnf remove hplip-common

References

Summary

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