man2html - browse man pages in your web browser

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: man2html
Package version: 1.6g
Package release: 7
Package architecture: amd64
Package type: deb
Installed size: 183 B
Download size: 28.75 KB
Official Mirror:
Point your web browser at http://localhost/cgi-bin/man/man2html to read and search your man pages in the browser. Features: * Fast C CGI program for man/BSD-mandoc to HTML conversion. * Works from the unformatted nroff/troff source. * Source may be compressed. * Does tbl tables (but not eqn equations). * Generates hypertext links to foobar(1), abc@host, and xyzzy.h files * CGI script for whatis-based alpha-indexes by section. * CGI script for name-only alpha-indexes by section. * CGI script for full text search (requires swish++) * Front-end script to talk to a pre-launched netscape.



    Binary package: man2html_1.6g-7_amd64.deb
    Source package: man2html

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install man2html deb package:
      # sudo apt-get install man2html


    • /etc/cron.weekly/man2html
    • /usr/bin/hman
    • /usr/lib/cgi-bin/man/man2html
    • /usr/lib/cgi-bin/man/mansearch
    • /usr/lib/cgi-bin/man/mansec
    • /usr/lib/cgi-bin/man/manwhatis
    • /usr/share/doc/man2html
    • /usr/share/doc-base/man2html
    • /usr/share/doc/man2html-base/html/man.html
    • /usr/share/lintian/overrides/man2html
    • /usr/share/man/el/man1/hman.1.gz
    • /usr/share/man/it/man1/hman.1.gz
    • /usr/share/man/man1/hman.1.gz
    • /usr/share/man2html/man.aux
    • /usr/share/man2html/mansearch.aux
    • /usr/share/man2html/swish++.conf
    • /usr/share/menu/man2html


    2013-11-17 - Robert Luberda <> man2html (1.6g-7) unstable; urgency=low * utils.c: Fix querystring2argv() to create argv in case man2html and manwhatis scripts are run on http server (like lighttpd) that fails to do it by its own (closes: #729549, #630530, LP: #389582). * man2html.cron.weekly: set proper permissions for generated index file (closes: #729548). * manwhatis.c: Fix format string warnings (closes: #672821). * Refresh debian/patches with `gpb pq import; gbp pq export'. * Add 034-UTF8-charset.patch: set charset in `Content-type' header to UTF-8 (LP: #873102). * mansearch, utils.h: set `Content-type' charset to UTF-8 as well. * Switch build system to debhelper v9 and its tiny rules file: + make sure debian default CFLAGS, CPPFLAGS, and LDFLAGS are properly handled; + add support for cross-compiling; + ensure parallel builds work (closes: #653424); + enable LFS support (lintian). * Standards-Version: 3.9.5 (no changes).

    2011-11-02 - Robert Luberda <> man2html (1.6g-6) unstable; urgency=high * man2html.cgi.c: Validate user input and make some error messages less verbose to prevent XSS attacks (CVE-2011-2770).

    2011-03-06 - Robert Luberda <> man2html (1.6g-5) unstable; urgency=low * man2html.postinst: Convert the /u/s/d/man2html directory into a symlink pointing to man2html-base (closes: #616594). * man2html.doc-base: Register html files from man2html-base, not man2html. * man2html.cgi.c: Check result of pipe() call.

    2011-02-13 - Robert Luberda <> man2html (1.6g-4) unstable; urgency=low * Depends/Suggests lynx-cur instead of lynx transitional package (closes: #613129). * Add a debian/NEWS file for the recent package split. Include a dummy entry there to work-around apt-listchanges bug #590541.

    2011-02-07 - Robert Luberda <> man2html (1.6g-3) unstable; urgency=low * Upload to unstable. * debian/rules: + use dpkg-buildflags for setting CFLAGS; + add build-arch and build-indep targets.

    2011-01-09 - Robert Luberda <> man2html (1.6g-2) experimental; urgency=low * Split the binary package into two (closes: #285403, LP: #584825): + man2html-base with a command-line man to HTML converter only; + man2html containing the CGI interface. * Remove any dependencies on web-server stuff from the man2html-base package, and make man2html package to depend on httpd instead of recommending it (closes: #504486).

    2011-01-09 - Robert Luberda <> man2html (1.6g-1) experimental; urgency=low * New upstream release. * Get the searched/indexed man directories from system manpath file (LP: #246816): + cron.weekly: use `manpath -g' to find out the system man directories; + man2html.cgi.c: take MANDB_MAP entries into account while parsing manpath.config; + postinst: call the weekly job to perform initial indexing of man pages; + avoid duplicated/symlinked directories in both the weekly script and the cgi program. * manwhatis.c: add the `-g' option to manpath call. * 010-aux-debian.patch (updated): correct paths in example. * 033-gcc-warnings.patch (new): fix some gcc warnings. * Reformat Debian-specific sources with the `astyle -A1 -SKs4' command. * Standards-Version: 3.9.1 (no changes). * Bump debhelper compat mode to 8.

    2010-06-12 - Robert Luberda <> man2html (1.6f+repack-1) unstable; urgency=low * Remove misleading message from postinst (closes: #582115). * Standards-Version: 3.8.4 * Add short descriptions for all patches (lintian). * Switch to the 3.0 (quilt) source format: + no longer use dbs (closes: #576055); + rebuild the original source tarball; + remove Readme.source file. * Bump debhelper to v7.