How To Install Mandoc?

How To Install Mandoc?

mandoc

BSD manpage compiler toolset

Maintainer: Bdale Garbee



Section: doc

Install mandoc

  • Debian apt-get install mandoc Click to copy
  • Ubuntu apt-get install mandoc Click to copy
  • Kali Linux apt-get install mandoc Click to copy
  • Raspbian apt-get install mandoc Click to copy
  • macOS brew install mandoc Click to copy

mandoc

BSD manpage compiler toolset

mandoc is a suite of tools compiling mdoc, the roff macro language of choice for BSD manual pages, and man, the predominant historical language for UNIX manuals. It is small, ISO C, ISC-licensed, and quite fast. The main component of the toolset is the mandoc utility program, based on the libmandoc validating compiler, to format output for UNIX terminals (with support for wide-character locales), XHTML, HTML, PostScript, and PDF.

Installation of latest mandoc command is available for Debian, Ubuntu, Kali, Raspbian and macOS. 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.