Can I get man pages without installing the corresponding packages?

Is there a way to have man pages available for commands i want without having to install the corresponding package?

For example, I want to browse the man page for emacs. And I don't have emacs installed and prefer not to install it. I know i can visit man pages online , but I want man emacs to get me the man page. Is there a way for this?


The dman command will automatically download a manual page to a temporary cache, and then show it. It's good for displaying manual pages for software that is not installed, though sometimes it doesn't work well, and you do have to wait for the manual page to download. (Manual pages are small though, so that doesn't usually take long.)

To get dman, install the bikeshed Install bikeshed package.

dman's own man page notes:

Note that the network operations will be a little slower than perhaps you are used to, when reading a manpage. Also note that you must be internet-connected, and able to access manpages.ubuntu.com for this utility to be useful. Finally, the algorithm that dman uses to retrieve remote pages is considerably simpler than that of man(1).

dman may appear to do nothing at all, if it's unable to find the manual page you're looking for (even sometimes when it should find it). And there's a small delay before and after manual pages are shown. But overall, it's a handy utility to have around, especially when you want to learn more about a program without installing it or switching to a web browser.


It depends on the package. Emacs isn't packaged in a way that you can. For some packages you can apt-get install basepackage-doc.