Home Debian Dwww – View Complete Debian Documentation Offline Via Web Browser

Dwww – View Complete Debian Documentation Offline Via Web Browser

By sk
Published: Last Updated on 1.3K views

In this brief tutorial, we will see what is Dwww, how to install "dwww" on Ubuntu and how to view the complete Debian documentation offline via a web browser.

Whenever you install a program, a man page will be added for the installed program, so you can refer the program's syntax, synopsis, description, usage examples, and list of available options etc.

Not just man pages, every Linux operating system has documentation in various other formats such as info files, docs, and READMEs etc. We can read the documentation using "man", "info" commands or any text viewers. How about reading all of these in html format via a web browser? Here is where "Dwww" comes in help.

Dwww makes searching, reading man, info and doc pages much easier via a web browser. You can also host the documentation in any central server on your network and access it from all systems, without Internet connection of course.

Install Dwww in Ubuntu Linux

Dwww is available in the default repositories. So, you can install it using apt package manager on Debian, Ubuntu, Linux Mint, and Pop OS as shown below.

$ sudo apt-get install dwww

Then, enable CGI on your Apache web server by running the following command. Otherwise, you will only see the static pages.

$ sudo a2enmod cgi

Restart Apache server to take effect the changes.

$ sudo systemctl restart apache2

View complete Debian documentation offline using Dwww

Open up your web browser and access the documentation with URL - http://localhost/dwww.

You will be pleased with the following screen.

View Complete Debian Documentation Offline Via Web Browser With Dwww
View Debian documentation offline with Dwww

As you see in the above screenshot, dwww brings all documentation (man, info, doc folders) under one-roof.

Clicking on the Debian Documentation menu will take you to a page where all programs and packages are categorised with different type.

View man pages in your browser with Dwww
View man pages in your browser with Dwww

Just click on any category to list all available packages under the respective category.

Searching documentation for a package/program

dwww will search all documentation related to given program or package. Say for example, to search for "find" command, enter it in the search box and hit ENTER.

Search documentation for a package/program with Dwww
Search documentation for a package/program with Dwww

As you see in the below image, Dwww shows all documentation (man pages, info pages, doc) for "find" command.

Display "Find" command documentation with Dwww
Display "Find" command documentation with Dwww

If you want to read the man pages for find command, click on the manual pages link. Here is the man pages of "find" command:

Display "Find" command man page with Dwww
Display "Find" command man page with Dwww

Dwww is primarily written for Debian. However, you can port it to other operating systems as well.

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More