How To Install libsane-hpaio on Rocky Linux 8

In this tutorial we learn how to install libsane-hpaio on Rocky Linux 8. libsane-hpaio is SANE driver for scanners in HP’s multi-function devices

Introduction

In this tutorial we learn how to install libsane-hpaio on Rocky Linux 8.

What is libsane-hpaio

SANE driver for scanners in HP’s multi-function devices (from HPOJ).

We can use yum or dnf to install libsane-hpaio on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libsane-hpaio.

Install libsane-hpaio on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libsane-hpaio using dnf by running the following command:

sudo dnf -y install libsane-hpaio

Install libsane-hpaio on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libsane-hpaio using yum by running the following command:

sudo yum -y install libsane-hpaio

How To Uninstall libsane-hpaio on Rocky Linux 8

To uninstall only the libsane-hpaio package we can use the following command:

sudo dnf remove libsane-hpaio

libsane-hpaio Package Contents on Rocky Linux 8

/etc/sane.d/dll.d/hpaio
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/4b0568eea9eb20ac54f2ddf68372c29e60de5f
/usr/lib64/sane/libsane-hpaio.so
/usr/lib64/sane/libsane-hpaio.so.1
/usr/lib64/sane/libsane-hpaio.so.1.0.0
/etc/sane.d/dll.d/hpaio
/usr/lib/.build-id
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/7af9b1e9dc0d2c43e618e552658abbedf44f5e
/usr/lib/sane/libsane-hpaio.so
/usr/lib/sane/libsane-hpaio.so.1
/usr/lib/sane/libsane-hpaio.so.1.0.0

References

Summary

In this tutorial we learn how to install libsane-hpaio on Rocky Linux 8 using yum and dnf.