man2html - browse man pages in your web browser

Distribution: Ubuntu 12.04 LTS (Precise Pangolin)
Repository: Ubuntu Universe amd64
Package name: man2html
Package version: 1.6g
Package release: 6
Package architecture: amd64
Package type: deb
Installed size: 183 B
Download size: 32.86 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-6_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


    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.

    2008-09-07 - Robert Luberda <> man2html (1.6f-3) unstable; urgency=low * 031-man2html-BR-empty-line.patch: new patch to ignore font change requests that are note followed by any words (closes: #489181). * 032-man2html-man-remove-LO-lines: remove `.LO 1' (lintian). * Rename debian/ to debian/README.source. * Standards-Version: 3.8.0.

    2008-04-15 - Robert Luberda <> man2html (1.6f-2) unstable; urgency=low * Change doc-base section to Help. * Build with debhelper v6. * Remove override file for linda. * Add copyright notice (lintian).

    2008-01-05 - Robert Luberda <> man2html (1.6f-1) unstable; urgency=low * New upstream version. * Standards-Version: 3.7.3 (no changes). * 030-man2html-man-hyphens.patch: fix lintian's `hyphen-used-as-minus-sign'. * Move url from Description: to the Homepage field. * Recommends: apache2 instead of apache, which is no longer available. * cron.weekly: use ionice to lower I/O priority.