aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/consoletools-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/consoletools-inst.xml')
-rw-r--r--chapter06/consoletools-inst.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/chapter06/consoletools-inst.xml b/chapter06/consoletools-inst.xml
new file mode 100644
index 000000000..e4639fbdf
--- /dev/null
+++ b/chapter06/consoletools-inst.xml
@@ -0,0 +1,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>
+