How to Download Official Man Pages from Ubuntu for Offline Viewing

downloadsmanpage

I am talking about this Precise Man Pages.

From here i want the entire available English Language Man pages as it is , so i can view them offline in the same format .Simply Browser way, which also makes it portable for reditribution.

I am aware that it can be accessed through command line , but the Official site provides attractive description (makes a beginner like me less afraid in reading, learning and understanding them).

By what means and in what way should it be done to achieve the desired Man Pages in same Format.

Using Ubuntu 12.04 64-Bit edition.

P.S.: Also is there any way of knowing its size before downloading it.

Best Answer

The man pages are usually get installed with software. So, If you install a software with manpages, the manpages will be automatically installed.

Manual pages in a Web browser

  • By installing man2html

    You can install man2html package to your computer to view the manual pages in your favorite browser:

    sudo apt-get install man2html
    
  • By installing doc-central

    There is another tool which view manpages in browser, it is called doccentral. You can install it with the following command:

    sudo apt-get install doc-central
    

Downloading manual pages:

You can download the latest manual pages from here. The size was also included in the page


Manual pages in PDF !:

Yes, you can even get the manual pages in pdf file format. for example, if you want to generate manual page for man the command will be :

man -t man | ps2pdf - man.pdf.

This will generate a manual page, named man.pdf in the current directory of the terminal. replace man with your desired one, such as grep or apt-get etc.


Info pages in browser.

Though it is not asked in the question, I include it as general reference.

You can also have the GNU info pages (which are more elaborate and helpful) in a web browser by installing info2www package. The command is below:

sudo apt-get install info2www

Hope this will help

Related Question