How To Install perl-Sane on Fedora 36

In this tutorial we learn how to install perl-Sane in Fedora 36. perl-Sane is Perl extension for the SANE (Scanner Access Now Easy) Project

Introduction

In this tutorial we learn how to install perl-Sane on Fedora 36.

What is perl-Sane

This module allows you to access SANE-compatible scanners in a Perlish and object-oriented way, freeing you from the casting and memory management in C, yet remaining very close in spirit to original API.

We can use yum or dnf to install perl-Sane on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Sane.

Install perl-Sane on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Sane

Install perl-Sane on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Sane

How To Uninstall perl-Sane on Fedora 36

To uninstall only the perl-Sane package we can use the following command:

sudo dnf remove perl-Sane

perl-Sane Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/bb01f362324bae1901fb4b5fbd8997e9f94328
/usr/lib64/perl5/vendor_perl/Sane.pm
/usr/lib64/perl5/vendor_perl/auto/Sane
/usr/lib64/perl5/vendor_perl/auto/Sane/Sane.so
/usr/share/doc/perl-Sane
/usr/share/doc/perl-Sane/Changes
/usr/share/doc/perl-Sane/README
/usr/share/doc/perl-Sane/examples
/usr/share/doc/perl-Sane/examples/scanadf.pl
/usr/share/doc/perl-Sane/examples/scanimage.pl
/usr/share/man/man3/Sane.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Sane on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).