1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN" "http://www.docbook.org/xml/4.3CR2/docbookx.dtd" [
3 <!ENTITY % inetutils-entities SYSTEM "../ent/inetutils.ent">
6 <sect1 id="ch06-inetutils">
7 <title>Installing Inetutils-&inetutils-version;</title>
8 <?dbhtml filename="inetutils.html"?>
10 <screen>Estimated build time: 0.2 SBU
11 Estimated required disk space: 11 MB</screen>
13 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/inetutils-contents.xml"/>
16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/inetutils-deps.xml"/>
21 <title>Installation of Inetutils</title>
23 <para>We are not going to install all the programs that come with Inetutils.
24 However, the Inetutils build system will insist on installing all the man
25 pages anyway. The following patch will correct this situation:</para>
27 <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-no_server_man_pages-1.patch</userinput></screen>
29 <para>Now prepare Inetutils for compilation:</para>
31 <screen><userinput>./configure --prefix=/usr --disable-syslogd \
32 --libexecdir=/usr/sbin --disable-logger \
33 --sysconfdir=/etc --localstatedir=/var \
34 --disable-whois --disable-servers</userinput></screen>
36 <para>The meaning of the configure options:</para>
39 <listitem><para><userinput>--disable-syslogd</userinput>: This option
40 prevents inetutils from installing the System Log Daemon, which is
41 installed with the Sysklogd package.</para></listitem>
43 <listitem><para><userinput>--disable-logger</userinput>: This option
44 prevents inetutils from installing the logger program, which is used by
45 scripts to pass messages to the System Log Daemon. We do not install it
46 because Util-linux installs a better version later.</para></listitem>
48 <listitem><para><userinput>--disable-whois</userinput>: This option disables
49 the building of the inetutils whois client, which is woefully out of date.
50 Instructions for a better whois client are in the BLFS book.</para></listitem>
52 <listitem><para><userinput>--disable-servers</userinput>: This disables the
53 installation of the various network servers included as part of the Inetutils
54 package. These servers are deemed not appropriate in a basic LFS system. Some
55 are insecure by nature and are only considered safe on trusted networks. More
56 information can be found at
57 <ulink url="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/inetutils.html"/>. Note that better
58 replacements are available for many of these servers.</para></listitem>
61 <para>Compile the package:</para>
63 <screen><userinput>make</userinput></screen>
65 <para>Install it:</para>
67 <screen><userinput>make install</userinput></screen>
69 <para>And move the <userinput>ping</userinput> program to its proper place:</para>
71 <screen><userinput>mv /usr/bin/ping /bin</userinput></screen>