How To Install libuser on Rocky Linux 8

In this tutorial we learn how to install libuser on Rocky Linux 8. libuser is A user and group account administration library

Introduction

In this tutorial we learn how to install libuser on Rocky Linux 8.

What is libuser

The libuser library implements a standardized interface for manipulating and administering user and group accounts. The library uses pluggable back-ends to interface to its data sources. Sample applications modeled after those included with the shadow password suite are included.

We can use yum or dnf to install libuser on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libuser.

Install libuser on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libuser

Install libuser on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libuser

How To Uninstall libuser on Rocky Linux 8

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

sudo dnf remove libuser

libuser Package Contents on Rocky Linux 8

/etc/libuser.conf
/usr/bin/lchfn
/usr/bin/lchsh
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/1cba5d45bcaac62866592095248e502372e0dc
/usr/lib/.build-id/35
/usr/lib/.build-id/35/025d8a426085c6658aa85a33e701ce22f4f18f
/usr/lib/.build-id/45
/usr/lib/.build-id/45/ae186d1b99a3ef87a9d460cc9e3e55bbc39745
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/8bb0fabf86484d5f993b36411f7745c89b66e0
/usr/lib/.build-id/59
/usr/lib/.build-id/59/4bdc6b931aad2443b57bdae577b7991b9f48e8
/usr/lib/.build-id/84
/usr/lib/.build-id/84/50d3a33276d9c59a5a96aa5f167daebfc5b182
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/acb58378d838fb8d036eeca29dff3de9649c9a
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/e38a14c9f643257e8cb34ba85c9359d47fe20d
/usr/lib/.build-id/bb/f989dbec1d9f793cd63eed5bfe2230723c53bc
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/2172eaa920124a7e35834a04b8324511cd2708
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/15c41ca7abb12c180149aa267b69759c771f01
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/4439aa206097ad6588102d26f746f9619b2ba3
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/a5265c2cb117b641f4eada7406b2d51ead1b8a
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/88922a183d4e3c7ede4d2d37c670515aa8d5c8
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/8e8b747906efcdc2c68d7c2cb13bb184994435
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/941a8311aba66cb271c0b3881c83c557d2a5e7
/usr/lib64/libuser
/usr/lib64/libuser.so.1
/usr/lib64/libuser.so.1.5.2
/usr/lib64/libuser/libuser_files.so
/usr/lib64/libuser/libuser_ldap.so
/usr/lib64/libuser/libuser_shadow.so
/usr/sbin/lchage
/usr/sbin/lgroupadd
/usr/sbin/lgroupdel
/usr/sbin/lgroupmod
/usr/sbin/lid
/usr/sbin/lnewusers
/usr/sbin/lpasswd
/usr/sbin/luseradd
/usr/sbin/luserdel
/usr/sbin/lusermod
/usr/share/doc/libuser
/usr/share/doc/libuser/AUTHORS
/usr/share/doc/libuser/NEWS
/usr/share/doc/libuser/README
/usr/share/doc/libuser/TODO
/usr/share/doc/libuser/attributes.txt
/usr/share/doc/libuser/rfc2307.txt
/usr/share/licenses/libuser
/usr/share/licenses/libuser/COPYING
/usr/share/locale/ar/LC_MESSAGES/libuser.mo
/usr/share/locale/as/LC_MESSAGES/libuser.mo
/usr/share/locale/bg/LC_MESSAGES/libuser.mo
/usr/share/locale/bn/LC_MESSAGES/libuser.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libuser.mo
/usr/share/locale/bs/LC_MESSAGES/libuser.mo
/usr/share/locale/ca/LC_MESSAGES/libuser.mo
/usr/share/locale/cs/LC_MESSAGES/libuser.mo
/usr/share/locale/cy/LC_MESSAGES/libuser.mo
/usr/share/locale/da/LC_MESSAGES/libuser.mo
/usr/share/locale/de/LC_MESSAGES/libuser.mo
/usr/share/locale/de_CH/LC_MESSAGES/libuser.mo
/usr/share/locale/el/LC_MESSAGES/libuser.mo
/usr/share/locale/en_GB/LC_MESSAGES/libuser.mo
/usr/share/locale/es/LC_MESSAGES/libuser.mo
/usr/share/locale/et/LC_MESSAGES/libuser.mo
/usr/share/locale/eu/LC_MESSAGES/libuser.mo
/usr/share/locale/fi/LC_MESSAGES/libuser.mo
/usr/share/locale/fr/LC_MESSAGES/libuser.mo
/usr/share/locale/gu/LC_MESSAGES/libuser.mo
/usr/share/locale/he/LC_MESSAGES/libuser.mo
/usr/share/locale/hi/LC_MESSAGES/libuser.mo
/usr/share/locale/hr/LC_MESSAGES/libuser.mo
/usr/share/locale/hu/LC_MESSAGES/libuser.mo
/usr/share/locale/id/LC_MESSAGES/libuser.mo
/usr/share/locale/is/LC_MESSAGES/libuser.mo
/usr/share/locale/it/LC_MESSAGES/libuser.mo
/usr/share/locale/ja/LC_MESSAGES/libuser.mo
/usr/share/locale/kn/LC_MESSAGES/libuser.mo
/usr/share/locale/ko/LC_MESSAGES/libuser.mo
/usr/share/locale/lv/LC_MESSAGES/libuser.mo
/usr/share/locale/mai/LC_MESSAGES/libuser.mo
/usr/share/locale/mk/LC_MESSAGES/libuser.mo
/usr/share/locale/ml/LC_MESSAGES/libuser.mo
/usr/share/locale/mr/LC_MESSAGES/libuser.mo
/usr/share/locale/ms/LC_MESSAGES/libuser.mo
/usr/share/locale/nb/LC_MESSAGES/libuser.mo
/usr/share/locale/nds/LC_MESSAGES/libuser.mo
/usr/share/locale/nl/LC_MESSAGES/libuser.mo
/usr/share/locale/or/LC_MESSAGES/libuser.mo
/usr/share/locale/pa/LC_MESSAGES/libuser.mo
/usr/share/locale/pl/LC_MESSAGES/libuser.mo
/usr/share/locale/pt/LC_MESSAGES/libuser.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libuser.mo
/usr/share/locale/ro/LC_MESSAGES/libuser.mo
/usr/share/locale/ru/LC_MESSAGES/libuser.mo
/usr/share/locale/sk/LC_MESSAGES/libuser.mo
/usr/share/locale/sl/LC_MESSAGES/libuser.mo
/usr/share/locale/sr/LC_MESSAGES/libuser.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libuser.mo
/usr/share/locale/sv/LC_MESSAGES/libuser.mo
/usr/share/locale/ta/LC_MESSAGES/libuser.mo
/usr/share/locale/te/LC_MESSAGES/libuser.mo
/usr/share/locale/tr/LC_MESSAGES/libuser.mo
/usr/share/locale/uk/LC_MESSAGES/libuser.mo
/usr/share/locale/vi/LC_MESSAGES/libuser.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libuser.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libuser.mo
/usr/share/man/man1/lchage.1.gz
/usr/share/man/man1/lchfn.1.gz
/usr/share/man/man1/lchsh.1.gz
/usr/share/man/man1/lgroupadd.1.gz
/usr/share/man/man1/lgroupdel.1.gz
/usr/share/man/man1/lgroupmod.1.gz
/usr/share/man/man1/lid.1.gz
/usr/share/man/man1/lnewusers.1.gz
/usr/share/man/man1/lpasswd.1.gz
/usr/share/man/man1/luseradd.1.gz
/usr/share/man/man1/luserdel.1.gz
/usr/share/man/man1/lusermod.1.gz
/usr/share/man/man5/libuser.conf.5.gz
/etc/libuser.conf
/usr/bin/lchfn
/usr/bin/lchsh
/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/bf0a9c4138737dba23f363634f7e2215d2c017
/usr/lib/.build-id/52
/usr/lib/.build-id/52/3b4c867bb5be46a70db30d81af7c061eb8362c
/usr/lib/.build-id/52/d1890ae9f5e8db9de63cb107a666b35eb690ce
/usr/lib/.build-id/68
/usr/lib/.build-id/68/f2d935f3fc8b815e168d81f4af8c7b3ed6a546
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/4ddd3f5a2064b4631d3aa15f40d605bc677217
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/59665d08b77a3541ac3ba1768ef470e94c11b8
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/ef3a79800892010b78db5d2d62fadb6f69c418
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/fc009eaef32ec23ccb933e18c7b76f5a920655
/usr/lib/.build-id/df
/usr/lib/.build-id/df/0e5cbc50e05353ee33691ec601848acbf6ecf6
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/044d3935387f93a8337ef58e554eef895a011f
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/83fe7d76904716f1e9e4f599342917061f75cc
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/c30353caf6e69c279870ebaec5a9712dc92e53
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/ee3cf65c91906593df76eba5ca564f0955b2c7
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/88265a5d970024188814016c05d19aeddbde26
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/66bcc35bfc206a99c5f874f682d0fc5489fe51
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/98a12de3564b8dd3a75e78c3c92115d7f24503
/usr/lib/libuser
/usr/lib/libuser.so.1
/usr/lib/libuser.so.1.5.2
/usr/lib/libuser/libuser_files.so
/usr/lib/libuser/libuser_ldap.so
/usr/lib/libuser/libuser_shadow.so
/usr/sbin/lchage
/usr/sbin/lgroupadd
/usr/sbin/lgroupdel
/usr/sbin/lgroupmod
/usr/sbin/lid
/usr/sbin/lnewusers
/usr/sbin/lpasswd
/usr/sbin/luseradd
/usr/sbin/luserdel
/usr/sbin/lusermod
/usr/share/doc/libuser
/usr/share/doc/libuser/AUTHORS
/usr/share/doc/libuser/NEWS
/usr/share/doc/libuser/README
/usr/share/doc/libuser/TODO
/usr/share/doc/libuser/attributes.txt
/usr/share/doc/libuser/rfc2307.txt
/usr/share/licenses/libuser
/usr/share/licenses/libuser/COPYING
/usr/share/locale/ar/LC_MESSAGES/libuser.mo
/usr/share/locale/as/LC_MESSAGES/libuser.mo
/usr/share/locale/bg/LC_MESSAGES/libuser.mo
/usr/share/locale/bn/LC_MESSAGES/libuser.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libuser.mo
/usr/share/locale/bs/LC_MESSAGES/libuser.mo
/usr/share/locale/ca/LC_MESSAGES/libuser.mo
/usr/share/locale/cs/LC_MESSAGES/libuser.mo
/usr/share/locale/cy/LC_MESSAGES/libuser.mo
/usr/share/locale/da/LC_MESSAGES/libuser.mo
/usr/share/locale/de/LC_MESSAGES/libuser.mo
/usr/share/locale/de_CH/LC_MESSAGES/libuser.mo
/usr/share/locale/el/LC_MESSAGES/libuser.mo
/usr/share/locale/en_GB/LC_MESSAGES/libuser.mo
/usr/share/locale/es/LC_MESSAGES/libuser.mo
/usr/share/locale/et/LC_MESSAGES/libuser.mo
/usr/share/locale/eu/LC_MESSAGES/libuser.mo
/usr/share/locale/fi/LC_MESSAGES/libuser.mo
/usr/share/locale/fr/LC_MESSAGES/libuser.mo
/usr/share/locale/gu/LC_MESSAGES/libuser.mo
/usr/share/locale/he/LC_MESSAGES/libuser.mo
/usr/share/locale/hi/LC_MESSAGES/libuser.mo
/usr/share/locale/hr/LC_MESSAGES/libuser.mo
/usr/share/locale/hu/LC_MESSAGES/libuser.mo
/usr/share/locale/id/LC_MESSAGES/libuser.mo
/usr/share/locale/is/LC_MESSAGES/libuser.mo
/usr/share/locale/it/LC_MESSAGES/libuser.mo
/usr/share/locale/ja/LC_MESSAGES/libuser.mo
/usr/share/locale/kn/LC_MESSAGES/libuser.mo
/usr/share/locale/ko/LC_MESSAGES/libuser.mo
/usr/share/locale/lv/LC_MESSAGES/libuser.mo
/usr/share/locale/mai/LC_MESSAGES/libuser.mo
/usr/share/locale/mk/LC_MESSAGES/libuser.mo
/usr/share/locale/ml/LC_MESSAGES/libuser.mo
/usr/share/locale/mr/LC_MESSAGES/libuser.mo
/usr/share/locale/ms/LC_MESSAGES/libuser.mo
/usr/share/locale/nb/LC_MESSAGES/libuser.mo
/usr/share/locale/nds/LC_MESSAGES/libuser.mo
/usr/share/locale/nl/LC_MESSAGES/libuser.mo
/usr/share/locale/or/LC_MESSAGES/libuser.mo
/usr/share/locale/pa/LC_MESSAGES/libuser.mo
/usr/share/locale/pl/LC_MESSAGES/libuser.mo
/usr/share/locale/pt/LC_MESSAGES/libuser.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libuser.mo
/usr/share/locale/ro/LC_MESSAGES/libuser.mo
/usr/share/locale/ru/LC_MESSAGES/libuser.mo
/usr/share/locale/sk/LC_MESSAGES/libuser.mo
/usr/share/locale/sl/LC_MESSAGES/libuser.mo
/usr/share/locale/sr/LC_MESSAGES/libuser.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libuser.mo
/usr/share/locale/sv/LC_MESSAGES/libuser.mo
/usr/share/locale/ta/LC_MESSAGES/libuser.mo
/usr/share/locale/te/LC_MESSAGES/libuser.mo
/usr/share/locale/tr/LC_MESSAGES/libuser.mo
/usr/share/locale/uk/LC_MESSAGES/libuser.mo
/usr/share/locale/vi/LC_MESSAGES/libuser.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libuser.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libuser.mo
/usr/share/man/man1/lchage.1.gz
/usr/share/man/man1/lchfn.1.gz
/usr/share/man/man1/lchsh.1.gz
/usr/share/man/man1/lgroupadd.1.gz
/usr/share/man/man1/lgroupdel.1.gz
/usr/share/man/man1/lgroupmod.1.gz
/usr/share/man/man1/lid.1.gz
/usr/share/man/man1/lnewusers.1.gz
/usr/share/man/man1/lpasswd.1.gz
/usr/share/man/man1/luseradd.1.gz
/usr/share/man/man1/luserdel.1.gz
/usr/share/man/man1/lusermod.1.gz
/usr/share/man/man5/libuser.conf.5.gz

References

Summary

In this tutorial we learn how to install libuser on Rocky Linux 8 using yum and dnf.