man.html

来自「lfs3.1 从源代码构建linux。html版本。」· HTML 代码 · 共 312 行

HTML
312
字号
<HTML><HEAD><TITLE>Installing Man-1.5j</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Installing basic system software"HREF="../chapter06/chapter06.html"><LINKREL="PREVIOUS"TITLE="Installing Groff-1.17.2"HREF="../chapter06/groff.html"><LINKREL="NEXT"TITLE="Installing Perl-5.6.1"HREF="../chapter06/perl.html"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Linux From Scratch: Version 3.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="../chapter06/groff.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 6. Installing basic system software</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../chapter06/perl.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch06-man">6.16. Installing Man-1.5j</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time:           1 minuteEstimated required disk space:  1 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2234">6.16.1. Installation of Man</A></H2><P>Run the following commands to install man:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>./configure -default &#38;&#38;make &#38;&#38;make install</B></TT></PRE></FONT></TD></TR></TABLE></P><P>You may want to take a look at the man hint at <AHREF="http://hints.linuxfromscratch.org/hints/man.txt"TARGET="_top">http://hints.linuxfromscratch.org/hints/man.txt</A> which deals with formatting and compression issues for man pages.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2242">6.16.2. Contents</A></H2><P>The Man package contains the apropos, makewhatis, man and whatisprograms.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2245">6.16.3. Description</A></H2><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2247">6.16.3.1. apropos</A></H3><P>apropos searches a set of database files containing short descriptions of system commands for keywords and  displays the result on the standard output.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2250">6.16.3.2. makewhatis</A></H3><P>makewhatis reads all the manual pages contained in given sections of manpath or the pre-formatted pages contained in the given sections of catpath. For  each  page, it writes a line in the whatis database; each line consists of the name of the page  and  a  short  description, separated  by a dash. The description is extracted using the content of the NAME section of the manual page.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2253">6.16.3.3. man</A></H3><P>man formats and displays the on-line manual pages.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2256">6.16.3.4. whatis</A></H3><P>whatis searches a set of database files containing short descriptions of system commands for keywords and displays the result on the standard output. Only complete word matches are displayed.</P></DIV></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2259">6.16.4. Dependencies</A></H2><P>Man-1.5i2 needs the following to be installed:</P><PCLASS="literallayout"><br>sh&nbsp;from&nbsp;the&nbsp;bash&nbsp;package<br><br>as&nbsp;from&nbsp;the&nbsp;binutils&nbsp;package<br>ld&nbsp;from&nbsp;the&nbsp;binutils&nbsp;package<br><br>bzip2&nbsp;from&nbsp;the&nbsp;bzip2&nbsp;package<br><br>chmod&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>cp&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>install	from&nbsp;the&nbsp;fileutils&nbsp;package<br>mkdir&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>mv&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>rm&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br><br>gcc&nbsp;from&nbsp;the&nbsp;gcc&nbsp;package<br><br>grep&nbsp;from&nbsp;the&nbsp;grep&nbsp;package<br><br>gunzip&nbsp;from&nbsp;the&nbsp;gzip&nbsp;package<br>zcat&nbsp;from&nbsp;the&nbsp;gzip&nbsp;package<br><br>make&nbsp;from&nbsp;the&nbsp;make&nbsp;package<br><br>awk&nbsp;from&nbsp;the&nbsp;mawk&nbsp;package<br><br>sed&nbsp;from&nbsp;the&nbsp;sed&nbsp;package<br><br>echo&nbsp;from&nbsp;the&nbsp;sh-utils&nbsp;package<br>cat&nbsp;from&nbsp;the&nbsp;textutils&nbsp;package<br></P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="../chapter06/groff.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../chapter06/perl.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing Groff-1.17.2</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../chapter06/chapter06.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Installing Perl-5.6.1</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?