6.55. Man-DB-2.6.3

The Man-DB package contains programs for finding and viewing man pages.

Приблизительное время сборки: 0.5 SBU
Требует свободного места на диске: 27 MB

6.55.1. Установка Man-DB

Подготовим Man-DB к компиляции:

./configure --prefix=/usr                        \
            --libexecdir=/usr/lib                \
            --docdir=/usr/share/doc/man-db-2.6.3 \
            --sysconfdir=/etc                    \
            --disable-setuid                     \
            --with-browser=/usr/bin/lynx         \
            --with-vgrind=/usr/bin/vgrind        \
            --with-grap=/usr/bin/grap

Значение параметров configure:

--disable-setuid

This disables making the man program setuid to user man.

--with-...

These three parameters are used to set some default programs. lynx is a text-based web browser (see BLFS for installation instructions), vgrind converts program sources to Groff input, and grap is useful for typesetting graphs in Groff documents. The vgrind and grap programs are not normally needed for viewing manual pages. They are not part of LFS or BLFS, but you should be able to install them yourself after finishing LFS if you wish to do so.

Cкомпилируем пакет:

make

Чтобы запустить тестирование пакета, выполните:

make check

Установим пакет:

make install

6.55.2. Non-English Manual Pages in LFS

The following table shows the character set that Man-DB assumes manual pages installed under /usr/share/man/<ll> will be encoded with. In addition to this, Man-DB correctly determines if manual pages installed in that directory are UTF-8 encoded.

Таблица 6.1. Expected character encoding of legacy 8-bit manual pages

Language (code) Encoding Language (code) Encoding
Danish (da) UTF-8 Croatian (hr) ISO-8859-2
German (de) UTF-8 Hungarian (hu) ISO-8859-2
English (en) UTF-8 Japanese (ja) EUC-JP
Spanish (es) UTF-8 Korean (ko) EUC-KR
Estonian (et) UTF-8 Lithuanian (lt) UTF-83
Finnish (fi) UTF-8 Latvian (lv) UTF-83
French (fr) UTF-8 Macedonian (mk) ISO-8859-5
Irish (ga) UTF-8 Polish (pl) ISO-8859-2
Galician (gl) UTF-8 Romanian (ro) ISO-8859-2
Indonesian (id) UTF-8 Russian (ru) KOI8-R
Icelandic (is) UTF-8 Slovak (sk) ISO-8859-2
Italian (it) UTF-8 Slovenian (sl) ISO-8859-2
Norwegian Bokmal (nb) UTF-8 Serbian Latin (sr@latin) ISO-8859-2
Dutch (nl) UTF-8 Serbian (sr) ISO-8859-5
Norwegian Nynorsk (nn) UTF-8 Turkish (tr) ISO-8859-9
Norwegian (no) UTF-8 Ukrainian (uk) KOI8-U
Portuguese (pt) UTF-8 Vietnamese (vi) TCVN5712-1
Swedish (sv) UTF-8 Simplified Chinese (zh_CN) GBK
Belarusian (be) CP1251 Simplified Chinese, Singapore (zh_SG) GBK
Bulgarian (bg) CP1251 Traditional Chinese, Hong Kong (zh_HK) BIG5HKSCS
Czech (cs) ISO-8859-2 Traditional Chinese (zh_TW) BIG5
Greek (el) ISO-8859-7    

[Замечание]

Замечание

Manual pages in languages not in the list are not supported.

6.55.3. Contents of Man-DB

Installed programs: accessdb, apropos (link to whatis), catman, lexgrog, man, mandb, manpath, whatis, and zsoelim
Installed libraries: libman.so, libmandb.so
Installed directories: /usr/lib/man-db, /usr/share/doc/man-db-2.6.3

Краткое описание

accessdb

Dumps the whatis database contents in human-readable form

apropos

Searches the whatis database and displays все же запустить тестирование short descriptions of system commands that contain a given string

catman

Creates or updates the pre-formatted manual pages

lexgrog

Displays one-line summary information about a given manual page

man

Formats and displays the requested manual page

mandb

Creates or updates the whatis database

manpath

Displays the contents of $MANPATH or (if $MANPATH is not set) a suitable search path based on the settings in man.conf and the user's environment

whatis

Searches the whatis database and displays все же запустить тестирование short descriptions of system commands that contain the given keyword as a separate word

zsoelim

Reads files and replaces lines of the form .so file by the contents of the mentioned file

libman

Contains run-time support for man

libmandb

Contains run-time support for man