How To Install usermode on Fedora 34
Introduction
In this tutorial we learn how to install usermode
on Fedora 34.
What is usermode
The usermode package contains the userhelper program, which can be used to allow configured programs to be run with superuser privileges by ordinary users.
We can use yum
or dnf
to install usermode
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install usermode.
Install usermode 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 usermode
using dnf
by running the following command:
sudo dnf -y install usermode
Install usermode 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 usermode
using yum
by running the following command:
sudo yum -y install usermode
How To Uninstall usermode on Fedora 34
To uninstall only the usermode
package we can use the following command:
sudo dnf remove usermode
usermode Package Contents on Fedora 34
/etc/security/console.apps/config-util
/usr/bin/consolehelper
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/99b0048815de9e8d6446111086db215d32d755
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/d31c750d7ac88a3b25935f5c0fc06cc717acc7
/usr/sbin/userhelper
/usr/share/doc/usermode
/usr/share/doc/usermode/ChangeLog
/usr/share/doc/usermode/NEWS
/usr/share/doc/usermode/README
/usr/share/licenses/usermode
/usr/share/licenses/usermode/COPYING
/usr/share/locale/ar/LC_MESSAGES/usermode.mo
/usr/share/locale/as/LC_MESSAGES/usermode.mo
/usr/share/locale/ast/LC_MESSAGES/usermode.mo
/usr/share/locale/be/LC_MESSAGES/usermode.mo
/usr/share/locale/bg/LC_MESSAGES/usermode.mo
/usr/share/locale/bn/LC_MESSAGES/usermode.mo
/usr/share/locale/bn_IN/LC_MESSAGES/usermode.mo
/usr/share/locale/bs/LC_MESSAGES/usermode.mo
/usr/share/locale/ca/LC_MESSAGES/usermode.mo
/usr/share/locale/cs/LC_MESSAGES/usermode.mo
/usr/share/locale/cy/LC_MESSAGES/usermode.mo
/usr/share/locale/da/LC_MESSAGES/usermode.mo
/usr/share/locale/de/LC_MESSAGES/usermode.mo
/usr/share/locale/de_CH/LC_MESSAGES/usermode.mo
/usr/share/locale/el/LC_MESSAGES/usermode.mo
/usr/share/locale/en_GB/LC_MESSAGES/usermode.mo
/usr/share/locale/es/LC_MESSAGES/usermode.mo
/usr/share/locale/et/LC_MESSAGES/usermode.mo
/usr/share/locale/fa/LC_MESSAGES/usermode.mo
/usr/share/locale/fi/LC_MESSAGES/usermode.mo
/usr/share/locale/fr/LC_MESSAGES/usermode.mo
/usr/share/locale/gl/LC_MESSAGES/usermode.mo
/usr/share/locale/gu/LC_MESSAGES/usermode.mo
/usr/share/locale/he/LC_MESSAGES/usermode.mo
/usr/share/locale/hi/LC_MESSAGES/usermode.mo
/usr/share/locale/hr/LC_MESSAGES/usermode.mo
/usr/share/locale/hu/LC_MESSAGES/usermode.mo
/usr/share/locale/id/LC_MESSAGES/usermode.mo
/usr/share/locale/is/LC_MESSAGES/usermode.mo
/usr/share/locale/it/LC_MESSAGES/usermode.mo
/usr/share/locale/ja/LC_MESSAGES/usermode.mo
/usr/share/locale/ka/LC_MESSAGES/usermode.mo
/usr/share/locale/kn/LC_MESSAGES/usermode.mo
/usr/share/locale/ko/LC_MESSAGES/usermode.mo
/usr/share/locale/lv/LC_MESSAGES/usermode.mo
/usr/share/locale/mai/LC_MESSAGES/usermode.mo
/usr/share/locale/mk/LC_MESSAGES/usermode.mo
/usr/share/locale/ml/LC_MESSAGES/usermode.mo
/usr/share/locale/mr/LC_MESSAGES/usermode.mo
/usr/share/locale/ms/LC_MESSAGES/usermode.mo
/usr/share/locale/nb/LC_MESSAGES/usermode.mo
/usr/share/locale/nds/LC_MESSAGES/usermode.mo
/usr/share/locale/nl/LC_MESSAGES/usermode.mo
/usr/share/locale/or/LC_MESSAGES/usermode.mo
/usr/share/locale/pa/LC_MESSAGES/usermode.mo
/usr/share/locale/pl/LC_MESSAGES/usermode.mo
/usr/share/locale/pt/LC_MESSAGES/usermode.mo
/usr/share/locale/pt_BR/LC_MESSAGES/usermode.mo
/usr/share/locale/ro/LC_MESSAGES/usermode.mo
/usr/share/locale/ru/LC_MESSAGES/usermode.mo
/usr/share/locale/si/LC_MESSAGES/usermode.mo
/usr/share/locale/sk/LC_MESSAGES/usermode.mo
/usr/share/locale/sl/LC_MESSAGES/usermode.mo
/usr/share/locale/sr/LC_MESSAGES/usermode.mo
/usr/share/locale/sr@latin/LC_MESSAGES/usermode.mo
/usr/share/locale/sv/LC_MESSAGES/usermode.mo
/usr/share/locale/ta/LC_MESSAGES/usermode.mo
/usr/share/locale/te/LC_MESSAGES/usermode.mo
/usr/share/locale/tg/LC_MESSAGES/usermode.mo
/usr/share/locale/tr/LC_MESSAGES/usermode.mo
/usr/share/locale/uk/LC_MESSAGES/usermode.mo
/usr/share/locale/vi/LC_MESSAGES/usermode.mo
/usr/share/locale/zh_CN/LC_MESSAGES/usermode.mo
/usr/share/locale/zh_TW/LC_MESSAGES/usermode.mo
/usr/share/man/man8/consolehelper.8.gz
/usr/share/man/man8/userhelper.8.gz
/etc/security/console.apps/config-util
/usr/bin/consolehelper
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/db595dcb5b3ee7b45126d2d8d3e830d1e53ea9
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/83e3a287f4390141da2162979a2ef7c6180d1d
/usr/sbin/userhelper
/usr/share/doc/usermode
/usr/share/doc/usermode/ChangeLog
/usr/share/doc/usermode/NEWS
/usr/share/doc/usermode/README
/usr/share/licenses/usermode
/usr/share/licenses/usermode/COPYING
/usr/share/locale/ar/LC_MESSAGES/usermode.mo
/usr/share/locale/as/LC_MESSAGES/usermode.mo
/usr/share/locale/ast/LC_MESSAGES/usermode.mo
/usr/share/locale/be/LC_MESSAGES/usermode.mo
/usr/share/locale/bg/LC_MESSAGES/usermode.mo
/usr/share/locale/bn/LC_MESSAGES/usermode.mo
/usr/share/locale/bn_IN/LC_MESSAGES/usermode.mo
/usr/share/locale/bs/LC_MESSAGES/usermode.mo
/usr/share/locale/ca/LC_MESSAGES/usermode.mo
/usr/share/locale/cs/LC_MESSAGES/usermode.mo
/usr/share/locale/cy/LC_MESSAGES/usermode.mo
/usr/share/locale/da/LC_MESSAGES/usermode.mo
/usr/share/locale/de/LC_MESSAGES/usermode.mo
/usr/share/locale/de_CH/LC_MESSAGES/usermode.mo
/usr/share/locale/el/LC_MESSAGES/usermode.mo
/usr/share/locale/en_GB/LC_MESSAGES/usermode.mo
/usr/share/locale/es/LC_MESSAGES/usermode.mo
/usr/share/locale/et/LC_MESSAGES/usermode.mo
/usr/share/locale/fa/LC_MESSAGES/usermode.mo
/usr/share/locale/fi/LC_MESSAGES/usermode.mo
/usr/share/locale/fr/LC_MESSAGES/usermode.mo
/usr/share/locale/gl/LC_MESSAGES/usermode.mo
/usr/share/locale/gu/LC_MESSAGES/usermode.mo
/usr/share/locale/he/LC_MESSAGES/usermode.mo
/usr/share/locale/hi/LC_MESSAGES/usermode.mo
/usr/share/locale/hr/LC_MESSAGES/usermode.mo
/usr/share/locale/hu/LC_MESSAGES/usermode.mo
/usr/share/locale/id/LC_MESSAGES/usermode.mo
/usr/share/locale/is/LC_MESSAGES/usermode.mo
/usr/share/locale/it/LC_MESSAGES/usermode.mo
/usr/share/locale/ja/LC_MESSAGES/usermode.mo
/usr/share/locale/ka/LC_MESSAGES/usermode.mo
/usr/share/locale/kn/LC_MESSAGES/usermode.mo
/usr/share/locale/ko/LC_MESSAGES/usermode.mo
/usr/share/locale/lv/LC_MESSAGES/usermode.mo
/usr/share/locale/mai/LC_MESSAGES/usermode.mo
/usr/share/locale/mk/LC_MESSAGES/usermode.mo
/usr/share/locale/ml/LC_MESSAGES/usermode.mo
/usr/share/locale/mr/LC_MESSAGES/usermode.mo
/usr/share/locale/ms/LC_MESSAGES/usermode.mo
/usr/share/locale/nb/LC_MESSAGES/usermode.mo
/usr/share/locale/nds/LC_MESSAGES/usermode.mo
/usr/share/locale/nl/LC_MESSAGES/usermode.mo
/usr/share/locale/or/LC_MESSAGES/usermode.mo
/usr/share/locale/pa/LC_MESSAGES/usermode.mo
/usr/share/locale/pl/LC_MESSAGES/usermode.mo
/usr/share/locale/pt/LC_MESSAGES/usermode.mo
/usr/share/locale/pt_BR/LC_MESSAGES/usermode.mo
/usr/share/locale/ro/LC_MESSAGES/usermode.mo
/usr/share/locale/ru/LC_MESSAGES/usermode.mo
/usr/share/locale/si/LC_MESSAGES/usermode.mo
/usr/share/locale/sk/LC_MESSAGES/usermode.mo
/usr/share/locale/sl/LC_MESSAGES/usermode.mo
/usr/share/locale/sr/LC_MESSAGES/usermode.mo
/usr/share/locale/sr@latin/LC_MESSAGES/usermode.mo
/usr/share/locale/sv/LC_MESSAGES/usermode.mo
/usr/share/locale/ta/LC_MESSAGES/usermode.mo
/usr/share/locale/te/LC_MESSAGES/usermode.mo
/usr/share/locale/tg/LC_MESSAGES/usermode.mo
/usr/share/locale/tr/LC_MESSAGES/usermode.mo
/usr/share/locale/uk/LC_MESSAGES/usermode.mo
/usr/share/locale/vi/LC_MESSAGES/usermode.mo
/usr/share/locale/zh_CN/LC_MESSAGES/usermode.mo
/usr/share/locale/zh_TW/LC_MESSAGES/usermode.mo
/usr/share/man/man8/consolehelper.8.gz
/usr/share/man/man8/userhelper.8.gz
References
Summary
In this tutorial we learn how to install usermode
on Fedora 34 using yum and dnf.