aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/consoletools-inst.xml
blob: e4639fbdf4672416ba2dd49bd06535fa7ee194fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<sect2>
<title>Installation of Console-tools</title>

<para>
Before you start installing Console-tools you have 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>