How To Install Man On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?

How To Install Man On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?

man

Format and display manual pages.

Maintainer: Colin Watson



Section: doc

Install man

  • Debian apt-get install man-db Click to copy
  • Ubuntu apt-get install man-db Click to copy
  • Alpine OS apk add man 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 Click to copy
  • Fedora dnf install man-db Click to copy
  • Raspbian apt-get install man-db Click to copy

Format and display manual pages.

How to use man?

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

Display man page for a command:
man commandClick to copy
Display man page for a command from section 7:
man command.7Click to copy
Display path searched for manpages:
man --pathClick to copy
Display location of a manpage rather than the manpage itself:
man -w commandClick to copy
Do a keyword search for manpages containing a search string:
man -k keywordClick to copy
Installing man command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of man 2026 package in your OS.