lfs/chapter06/kbd-inst.xml

36 lines
1.0 KiB
XML
Raw Normal View History

<sect2>
<title>Installation of Kbd</title>
<para>
Install Kbd by running the following commands:
</para>
<blockquote><literallayout>
<userinput>./configure --datadir=/usr/share/kbd &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>rm
/usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz</userinput>
</literallayout></blockquote>
<para>
Now we have to choose a default keymap. Explore the
/usr/share/kbd/keymaps directory, and find the keymap that you would like to use
as a default. Then execute this command:
</para>
<blockquote><literallayout>
<userinput>cd /usr/share/kbd/keymaps &amp;&amp;</userinput>
<userinput>ln -s &lt;path-to-keymap&gt; defkeymap.map.gz</userinput>
</literallayout></blockquote>
<para>
Replace <userinput>&lt;path-to-keymap&gt;</userinput> with the path to the
keymap you have selected, relative to the /usr/share/kbd/keymaps/ directory. For
example, if you have chosen the US keymap, you would replace it with
i386/qwerty/us.map.gz.
</para>
</sect2>