lfs/chapter06/consoletools-inst.xml
Thomas Balu Walter 81a47c0302 You
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@337 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-03-19 16:02:50 +00:00

36 lines
1.1 KiB
XML

<sect2>
<title>Installation of Console-tools</title>
<para>
Before starting to install Console-tools a user has to unpack the
console-tools-0.2.3.patch file.
</para>
<para>
Install Console-tools by running the following commands:
</para>
<blockquote><literallayout>
<userinput>patch -Np1 -i ../console-tools-0.2.3.patch
&amp;&amp;</userinput>
<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cd doc/man &amp;&amp;</userinput>
<userinput>sed s/"@datadir@"/"\/usr\/share"/
consolechars.8.in &gt; consolechars.8 &amp;&amp;</userinput>
<userinput>sed s/"@datadir@"/"\/usr\/share"/
dumpkeys.1.in &gt; dumpkeys.1 &amp;&amp;</userinput>
<userinput>sed s/"@datadir@"/"\/usr\/share"/
loadkeys.1.in &gt; loadkeys.1 &amp;&amp;</userinput>
<userinput>cp *.1 /usr/share/man/man1 &amp;&amp;</userinput>
<userinput>cp *.4 /usr/share/man/man4 &amp;&amp;</userinput>
<userinput>cp *.5 /usr/share/man/man5 &amp;&amp;</userinput>
<userinput>cp *.8 /usr/share/man/man8</userinput>
</literallayout></blockquote>
</sect2>