Mandb Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

Mandb Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

mandb

Manage the pre-formatted manual page database.

Maintainer: Colin Watson



Section: doc

Install mandb

  • Debian apt-get install man-db Click to copy
  • Ubuntu apt-get install man-db Click to copy
  • Arch Linux pacman -S man-db Click to copy
  • Kali Linux apt-get install man-db Click to copy
  • CentOS yum install man-db Click to copy
  • Fedora dnf install man-db Click to copy
  • Raspbian apt-get install man-db Click to copy

Manage the pre-formatted manual page database.

How to use mandb?

Below are few example commands for mandb that you can use in the terminal.

Purge and process manual pages:
mandbClick to copy
Update a single entry:
mandb --filename path/to/fileClick to copy
Create entries from scratch instead of updating:
mandb --createClick to copy
Only process user databases:
mandb --user-dbClick to copy
Do not purge obsolete entries:
mandb --no-purgeClick to copy
Check the validity of manual pages:
mandb --testClick to copy
Installation of latest mandb command is available for Debian, Ubuntu, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.