How To Install pmount on Fedora 36

In this tutorial we learn how to install pmount in Fedora 36. pmount is Enable normal user mount

Introduction

In this tutorial we learn how to install pmount on Fedora 36.

What is pmount

pmount (“policy mount”) is a wrapper around the standard mount program which permits normal users to mount removable devices without a matching /etc/fstab entry. Be warned that pmount is installed setuid root.

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

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

sudo dnf -y install pmount

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

sudo yum -y install pmount

How To Uninstall pmount on Fedora 36

To uninstall only the pmount package we can use the following command:

sudo dnf remove pmount

pmount Package Contents on Fedora 36

/etc/pmount.allow
/usr/bin/pmount
/usr/bin/pumount
/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/f02a31f05b93804e3d4a33ea52031f416e6a72
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/fbf78a1b5c3d09a3577e3767574f5dec2fd2f6
/usr/share/doc/pmount
/usr/share/doc/pmount/AUTHORS
/usr/share/doc/pmount/COPYING
/usr/share/doc/pmount/ChangeLog
/usr/share/doc/pmount/README.devel
/usr/share/locale/bs/LC_MESSAGES/pmount.mo
/usr/share/locale/ca/LC_MESSAGES/pmount.mo
/usr/share/locale/cs/LC_MESSAGES/pmount.mo
/usr/share/locale/de/LC_MESSAGES/pmount.mo
/usr/share/locale/el/LC_MESSAGES/pmount.mo
/usr/share/locale/en/LC_MESSAGES/pmount.mo
/usr/share/locale/en_AU/LC_MESSAGES/pmount.mo
/usr/share/locale/en_GB/LC_MESSAGES/pmount.mo
/usr/share/locale/es/LC_MESSAGES/pmount.mo
/usr/share/locale/et/LC_MESSAGES/pmount.mo
/usr/share/locale/eu/LC_MESSAGES/pmount.mo
/usr/share/locale/fa/LC_MESSAGES/pmount.mo
/usr/share/locale/fr/LC_MESSAGES/pmount.mo
/usr/share/locale/he/LC_MESSAGES/pmount.mo
/usr/share/locale/hr/LC_MESSAGES/pmount.mo
/usr/share/locale/hu/LC_MESSAGES/pmount.mo
/usr/share/locale/id/LC_MESSAGES/pmount.mo
/usr/share/locale/it/LC_MESSAGES/pmount.mo
/usr/share/locale/ko/LC_MESSAGES/pmount.mo
/usr/share/locale/ml/LC_MESSAGES/pmount.mo
/usr/share/locale/nb/LC_MESSAGES/pmount.mo
/usr/share/locale/nds/LC_MESSAGES/pmount.mo
/usr/share/locale/nl/LC_MESSAGES/pmount.mo
/usr/share/locale/pa/LC_MESSAGES/pmount.mo
/usr/share/locale/pl/LC_MESSAGES/pmount.mo
/usr/share/locale/pt/LC_MESSAGES/pmount.mo
/usr/share/locale/pt_BR/LC_MESSAGES/pmount.mo
/usr/share/locale/ro/LC_MESSAGES/pmount.mo
/usr/share/locale/ru/LC_MESSAGES/pmount.mo
/usr/share/locale/sk/LC_MESSAGES/pmount.mo
/usr/share/locale/sr/LC_MESSAGES/pmount.mo
/usr/share/locale/sv/LC_MESSAGES/pmount.mo
/usr/share/locale/te/LC_MESSAGES/pmount.mo
/usr/share/locale/tl/LC_MESSAGES/pmount.mo
/usr/share/locale/tr/LC_MESSAGES/pmount.mo
/usr/share/locale/vi/LC_MESSAGES/pmount.mo
/usr/share/locale/yi/LC_MESSAGES/pmount.mo
/usr/share/locale/zh_CN/LC_MESSAGES/pmount.mo
/usr/share/man/man1/pmount.1.gz
/usr/share/man/man1/pumount.1.gz

References

Summary

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