How To Install perl-File-UserDirs on Fedora 36

In this tutorial we learn how to install perl-File-UserDirs in Fedora 36. perl-File-UserDirs is Find extra media and documents Freedesktop.org directories

Introduction

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

What is perl-File-UserDirs

File specified by the Freedesktop.org xdg-user-dirs software. This gives a mechanism to locate extra directories for media and documents files.

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

Install perl-File-UserDirs 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-File-UserDirs using dnf by running the following command:

sudo dnf -y install perl-File-UserDirs

Install perl-File-UserDirs 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-File-UserDirs using yum by running the following command:

sudo yum -y install perl-File-UserDirs

How To Uninstall perl-File-UserDirs on Fedora 36

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

sudo dnf remove perl-File-UserDirs

perl-File-UserDirs Package Contents on Fedora 36

/usr/share/doc/perl-File-UserDirs
/usr/share/doc/perl-File-UserDirs/Changes
/usr/share/doc/perl-File-UserDirs/README
/usr/share/licenses/perl-File-UserDirs
/usr/share/licenses/perl-File-UserDirs/LICENSE
/usr/share/man/man3/File::UserDirs.3pm.gz
/usr/share/perl5/vendor_perl/File
/usr/share/perl5/vendor_perl/File/UserDirs.pm

References

Summary

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