📄 texinfo.html
字号:
<HTML><HEAD><TITLE>Installing Texinfo-4.0</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 M4-1.4"HREF="../chapter06/m4.html"><LINKREL="NEXT"TITLE="Installing Autoconf-2.52"HREF="../chapter06/autoconf.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/m4.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/autoconf.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch06-texinfo">6.19. Installing Texinfo-4.0</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time: 1 minuteEstimated required disk space: 10 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2308">6.19.1. Installation of Texinfo</A></H2><P>Install Texinfo by running the following commands:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>./configure --prefix=/usr &&make &&make install &&make TEXMF=/usr/share/texmf install-tex</B></TT></PRE></FONT></TD></TR></TABLE></P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2314">6.19.2. Command explanations</A></H2><P><TTCLASS="userinput"><B>make TEXMF=/usr/share/texmf install-tex:</B></TT>This installs the texinfo components that belong in a TeXinstallation. Although TeX isn't installed on LFS, it's installed herein case you are going to use TeX. As it's completely optional, feel freeto skip it.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2318">6.19.3. Contents</A></H2><P>The Texinfo package contains the info, install-info, makeinfo, texi2dviand texindex programs</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2321">6.19.4. Description</A></H2><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2323">6.19.4.1. info</A></H3><P>The info program reads Info documents, usually contained in the /usr/doc/info directory. Info documents are like man(ual) pages, butthey tend to be more in depth than just explaining the options to aprogram.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2326">6.19.4.2. install-info</A></H3><P>The install-info program updates the info entries. When the infoprogram is run a list with available topics (ie: available info documents) willbe presented. The install-info program is used to maintain this list ofavailable topics. If info files are removed manually, it is also necessaryto delete the topic in the index file as well. This program is used forthat. It also works the other way around when info documents are added.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2329">6.19.4.3. makeinfo</A></H3><P>The makeinfo program translates Texinfo source documents into various formats. Available formats are: info files, plain text and HTML.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2332">6.19.4.4. texi2dvi</A></H3><P>The texi2dvi program prints Texinfo documents</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2335">6.19.4.5. texindex</A></H3><P>The texindex program is used to sort Texinfo index files.</P></DIV></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2338">6.19.5. Dependencies</A></H2><P>Texinfo-4.0 needs the following to be installed:</P><PCLASS="literallayout"><br>sh from the bash package<br><br>ar from the binutils package<br>as from the binutils package<br>ld from the binutils package<br><br>cmp from the diffutils package<br><br>chmod from the fileutils package<br>cp from the fileutils package<br>ln from the fileutils package<br>ls from the fileutils package<br>mkdir from the fileutils package<br>mv from the fileutils package<br>rm from the fileutils package<br><br>cc from the gcc package<br><br>grep from the grep package<br><br>make from the make package<br><br>sed from the sed package<br><br>basename from the sh-utils package<br>expr from the sh-utils package<br>sleep from the sh-utils package<br>uname from the sh-utils package<br><br>cat from the textutils package<br>tr from the textutils 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/m4.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../chapter06/autoconf.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing M4-1.4</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../chapter06/chapter06.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Installing Autoconf-2.52</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -