man page

From Gentoo Wiki
Jump to: navigation, search

External resources

A man page (short for manual page) is software documentation. It contains documentation about programs, libraries, system calls and configuration files.

Contents

Installation

sys-apps/man is part of the system set and so already installed on your system. Still you can change the USE flags:

→ Information about USE flags
USE flag Default Recommended Description
lzma No Support for LZMA (de)compression algorithm
nls Yes Adds Native Language Support (using gettext - GNU locale utilities)

app-text/man-pages, which provides many basic man pages, is also part of the system set. If you want localized man pages, set the LINGUAS variable in your /etc/portage/make.conf, e.g. for german:

File/etc/portage/make.conf

LINGUAS="de"

Most packages install additional man pages. If you want to suppress their installation, add the following feature to your /etc/portage/make.conf:

File/etc/portage/make.conf

FEATURES="... noman ..."

Usage

man

Man pages can be viewed with man:

  • man 5 ebuild - Shows the ebuild man page of section 5.
  • man ebuild - Shows the ebuild man page of section 1. When there is more than on man page with same name, the first found will be shown.

man uses your pager. Default is less. The default pager can be setup with eselect pager.

You navigate in a man page with the arrow keys. You scroll pagewise with the Page up and Page down keys. You can search with the / key followed by the search term.

Konqueror

KDE Konqueror can render man pages. Enter in the address bar man:/ followed by the man page name, e.g.: man:/ebuild. If you want to view a specific section, add the section in parentheses, e.g.: man:/ebuild(5).

apropos

apropos (part of sys-apps/man) can search the whatis database for strings, e.g.:

user $ apropos portage
color.map [color]    (5)  - custom color settings for Portage
ebuild               (1)  - a low level interface to the Portage system
...
Personal tools
Namespaces

Variants
Actions
Gentoo Websites logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Navigation
Toolbox
Categories