How To Install man-db on Rocky Linux 8

In this tutorial we learn how to install man-db on Rocky Linux 8. man-db is Tools for searching and reading man pages

Introduction

In this tutorial we learn how to install man-db on Rocky Linux 8.

What is man-db

The man-db package includes five tools for browsing man-pages man, whatis, apropos, manpath and lexgrog. man formats and displays manual pages. whatis searches the manual page names. apropos searches the manual page names and descriptions. manpath determines search path for manual pages. lexgrog directly reads header information in manual pages.

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

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

sudo dnf -y install man-db

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

sudo yum -y install man-db

How To Uninstall man-db on Rocky Linux 8

To uninstall only the man-db package we can use the following command:

sudo dnf remove man-db

man-db Package Contents on Rocky Linux 8

/etc/man_db.conf
/etc/sysconfig/man-db
/usr/bin/apropos
/usr/bin/catman
/usr/bin/lexgrog
/usr/bin/man
/usr/bin/mandb
/usr/bin/manpath
/usr/bin/whatis
/usr/lib/.build-id
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/f329aff26ffe384f75b7ef09efdb2180f85e6e
/usr/lib/.build-id/43
/usr/lib/.build-id/43/1b389ed5804683c49557f85f15b922d0cfd69d
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/15b8be9c0de160eb42ec17ebdbfd6ca216d93c
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/fac5f97a69592c18bb474b4cc505c5af42b007
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/d82896ba0ff7a7d230613e727bdebb47355991
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/5fb4569da7de9abddf93205bff3de0a299e7fa
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/399d88bc877041ef824a5e2468d43d9c51dd57
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/0f40736d7fcc9c86d64aa6c1258554e58dbc10
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/5807fd68c5ade0197fbffcdcff2bdb5a24f982
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/1af1b753b6c21cf9daba6c573937e14e3e40f3
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/e4ffffab16bedc4659271bbaba4610352f67af
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/c435fbdab385edbf3174bc2dfad364392c1581
/usr/lib/systemd/system/man-db-cache-update.service
/usr/lib/tmpfiles.d/man-db.conf
/usr/lib64/man-db
/usr/lib64/man-db/libman-2.7.6.1.so
/usr/lib64/man-db/libman.so
/usr/lib64/man-db/libmandb-2.7.6.1.so
/usr/lib64/man-db/libmandb.so
/usr/libexec/man-db
/usr/libexec/man-db/globbing
/usr/libexec/man-db/manconv
/usr/libexec/man-db/zsoelim
/usr/sbin/accessdb
/usr/share/doc/man-db
/usr/share/doc/man-db/ChangeLog
/usr/share/doc/man-db/NEWS
/usr/share/doc/man-db/README
/usr/share/doc/man-db/man-db-manual.ps
/usr/share/doc/man-db/man-db-manual.txt
/usr/share/licenses/man-db
/usr/share/licenses/man-db/COPYING
/usr/share/locale/af/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/be/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/bg/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/ca/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/ca/LC_MESSAGES/man-db.mo
/usr/share/locale/cs/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/cs/LC_MESSAGES/man-db.mo
/usr/share/locale/da/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/da/LC_MESSAGES/man-db.mo
/usr/share/locale/de/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/de/LC_MESSAGES/man-db.mo
/usr/share/locale/el/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/eo/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/eo/LC_MESSAGES/man-db.mo
/usr/share/locale/es/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/es/LC_MESSAGES/man-db.mo
/usr/share/locale/et/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/eu/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/fi/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/fi/LC_MESSAGES/man-db.mo
/usr/share/locale/fr/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/fr/LC_MESSAGES/man-db.mo
/usr/share/locale/ga/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/gl/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/hu/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/id/LC_MESSAGES/man-db.mo
/usr/share/locale/it/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/it/LC_MESSAGES/man-db.mo
/usr/share/locale/ja/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/ja/LC_MESSAGES/man-db.mo
/usr/share/locale/ko/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/ms/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/nb/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/nl/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/nl/LC_MESSAGES/man-db.mo
/usr/share/locale/pl/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/pl/LC_MESSAGES/man-db.mo
/usr/share/locale/pt/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/pt_BR/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/pt_BR/LC_MESSAGES/man-db.mo
/usr/share/locale/ro/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/ro/LC_MESSAGES/man-db.mo
/usr/share/locale/ru/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/ru/LC_MESSAGES/man-db.mo
/usr/share/locale/rw/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/sk/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/sl/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/sr/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/sr/LC_MESSAGES/man-db.mo
/usr/share/locale/sv/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/sv/LC_MESSAGES/man-db.mo
/usr/share/locale/tr/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/uk/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/vi/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/vi/LC_MESSAGES/man-db.mo
/usr/share/locale/zh_CN/LC_MESSAGES/man-db-gnulib.mo
/usr/share/locale/zh_CN/LC_MESSAGES/man-db.mo
/usr/share/locale/zh_TW/LC_MESSAGES/man-db-gnulib.mo
/usr/share/man/da/man1/apropos.1.gz
/usr/share/man/da/man1/lexgrog.1.gz
/usr/share/man/da/man1/man.1.gz
/usr/share/man/da/man1/manconv.1.gz
/usr/share/man/da/man1/manpath.1.gz
/usr/share/man/da/man1/whatis.1.gz
/usr/share/man/da/man1/zsoelim.1.gz
/usr/share/man/da/man5/manpath.5.gz
/usr/share/man/da/man8/accessdb.8.gz
/usr/share/man/da/man8/catman.8.gz
/usr/share/man/da/man8/mandb.8.gz
/usr/share/man/de/man1/apropos.1.gz
/usr/share/man/de/man1/lexgrog.1.gz
/usr/share/man/de/man1/man.1.gz
/usr/share/man/de/man1/manconv.1.gz
/usr/share/man/de/man1/manpath.1.gz
/usr/share/man/de/man1/whatis.1.gz
/usr/share/man/de/man1/zsoelim.1.gz
/usr/share/man/de/man5/manpath.5.gz
/usr/share/man/de/man8/accessdb.8.gz
/usr/share/man/de/man8/catman.8.gz
/usr/share/man/de/man8/mandb.8.gz
/usr/share/man/es/man1/apropos.1.gz
/usr/share/man/es/man1/man.1.gz
/usr/share/man/es/man1/manpath.1.gz
/usr/share/man/es/man1/whatis.1.gz
/usr/share/man/es/man1/zsoelim.1.gz
/usr/share/man/es/man5/manpath.5.gz
/usr/share/man/es/man8/catman.8.gz
/usr/share/man/es/man8/mandb.8.gz
/usr/share/man/fr/man1/apropos.1.gz
/usr/share/man/fr/man1/lexgrog.1.gz
/usr/share/man/fr/man1/man.1.gz
/usr/share/man/fr/man1/manconv.1.gz
/usr/share/man/fr/man1/manpath.1.gz
/usr/share/man/fr/man1/whatis.1.gz
/usr/share/man/fr/man1/zsoelim.1.gz
/usr/share/man/fr/man5/manpath.5.gz
/usr/share/man/fr/man8/accessdb.8.gz
/usr/share/man/fr/man8/catman.8.gz
/usr/share/man/fr/man8/mandb.8.gz
/usr/share/man/id/man1/apropos.1.gz
/usr/share/man/id/man1/lexgrog.1.gz
/usr/share/man/id/man1/man.1.gz
/usr/share/man/id/man1/manconv.1.gz
/usr/share/man/id/man1/manpath.1.gz
/usr/share/man/id/man1/whatis.1.gz
/usr/share/man/id/man1/zsoelim.1.gz
/usr/share/man/id/man5/manpath.5.gz
/usr/share/man/id/man8/accessdb.8.gz
/usr/share/man/id/man8/catman.8.gz
/usr/share/man/id/man8/mandb.8.gz
/usr/share/man/it/man1/apropos.1.gz
/usr/share/man/it/man1/man.1.gz
/usr/share/man/it/man1/manpath.1.gz
/usr/share/man/it/man1/whatis.1.gz
/usr/share/man/it/man1/zsoelim.1.gz
/usr/share/man/it/man5/manpath.5.gz
/usr/share/man/it/man8/accessdb.8.gz
/usr/share/man/it/man8/catman.8.gz
/usr/share/man/it/man8/mandb.8.gz
/usr/share/man/ja/man1/apropos.1.gz
/usr/share/man/ja/man1/lexgrog.1.gz
/usr/share/man/ja/man1/man.1.gz
/usr/share/man/ja/man1/manconv.1.gz
/usr/share/man/ja/man1/manpath.1.gz
/usr/share/man/ja/man1/whatis.1.gz
/usr/share/man/ja/man1/zsoelim.1.gz
/usr/share/man/ja/man5/manpath.5.gz
/usr/share/man/ja/man8/accessdb.8.gz
/usr/share/man/ja/man8/catman.8.gz
/usr/share/man/ja/man8/mandb.8.gz
/usr/share/man/man1/apropos.1.gz
/usr/share/man/man1/lexgrog.1.gz
/usr/share/man/man1/man.1.gz
/usr/share/man/man1/manconv.1.gz
/usr/share/man/man1/manpath.1.gz
/usr/share/man/man1/whatis.1.gz
/usr/share/man/man5/manpath.5.gz
/usr/share/man/man8/accessdb.8.gz
/usr/share/man/man8/catman.8.gz
/usr/share/man/man8/mandb.8.gz
/usr/share/man/nl/man1/apropos.1.gz
/usr/share/man/nl/man1/lexgrog.1.gz
/usr/share/man/nl/man1/man.1.gz
/usr/share/man/nl/man1/manconv.1.gz
/usr/share/man/nl/man1/manpath.1.gz
/usr/share/man/nl/man1/whatis.1.gz
/usr/share/man/nl/man1/zsoelim.1.gz
/usr/share/man/nl/man5/manpath.5.gz
/usr/share/man/nl/man8/accessdb.8.gz
/usr/share/man/nl/man8/catman.8.gz
/usr/share/man/nl/man8/mandb.8.gz
/usr/share/man/pl/man1/apropos.1.gz
/usr/share/man/pl/man1/lexgrog.1.gz
/usr/share/man/pl/man1/man.1.gz
/usr/share/man/pl/man1/manconv.1.gz
/usr/share/man/pl/man1/manpath.1.gz
/usr/share/man/pl/man1/whatis.1.gz
/usr/share/man/pl/man1/zsoelim.1.gz
/usr/share/man/pl/man5/manpath.5.gz
/usr/share/man/pl/man8/accessdb.8.gz
/usr/share/man/pl/man8/catman.8.gz
/usr/share/man/pl/man8/mandb.8.gz
/usr/share/man/ru/man1/apropos.1.gz
/usr/share/man/ru/man1/lexgrog.1.gz
/usr/share/man/ru/man1/man.1.gz
/usr/share/man/ru/man1/manconv.1.gz
/usr/share/man/ru/man1/manpath.1.gz
/usr/share/man/ru/man1/whatis.1.gz
/usr/share/man/ru/man1/zsoelim.1.gz
/usr/share/man/ru/man5/manpath.5.gz
/usr/share/man/ru/man8/accessdb.8.gz
/usr/share/man/ru/man8/catman.8.gz
/usr/share/man/ru/man8/mandb.8.gz
/usr/share/man/sv/man1/apropos.1.gz
/usr/share/man/sv/man1/lexgrog.1.gz
/usr/share/man/sv/man1/man.1.gz
/usr/share/man/sv/man1/manconv.1.gz
/usr/share/man/sv/man1/manpath.1.gz
/usr/share/man/sv/man1/whatis.1.gz
/usr/share/man/sv/man1/zsoelim.1.gz
/usr/share/man/sv/man5/manpath.5.gz
/usr/share/man/sv/man8/accessdb.8.gz
/usr/share/man/sv/man8/catman.8.gz
/usr/share/man/sv/man8/mandb.8.gz
/usr/share/man/zh_CN/man1/apropos.1.gz
/usr/share/man/zh_CN/man1/lexgrog.1.gz
/usr/share/man/zh_CN/man1/man.1.gz
/usr/share/man/zh_CN/man1/manconv.1.gz
/usr/share/man/zh_CN/man1/manpath.1.gz
/usr/share/man/zh_CN/man1/whatis.1.gz
/usr/share/man/zh_CN/man1/zsoelim.1.gz
/usr/share/man/zh_CN/man5/manpath.5.gz
/usr/share/man/zh_CN/man8/accessdb.8.gz
/usr/share/man/zh_CN/man8/catman.8.gz
/usr/share/man/zh_CN/man8/mandb.8.gz
/var/cache/man

References

Summary

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