How To Install pmount on Fedora 34

pmount is Enable normal user mount

Introduction

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

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 34. In this tutorial we discuss both methods but you only need to choose one of method to install pmount.

Install pmount on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install pmount

Install pmount on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove pmount

pmount Package Contents on Fedora 34

/etc/pmount.allow
/usr/bin/pmount
/usr/bin/pumount
/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/e820603bfa6e24eebb7904c1601a3d982d7d62
/usr/lib/.build-id/53
/usr/lib/.build-id/53/09a29930bb035f28e68eb3b18c35fd45d86dad
/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 34 using yum and dnf.