[3be4d97] | 1 | <sect1 id="ch-system-inetutils" xreflabel="Inetutils">
|
---|
[0b6cb04] | 2 | <title>Installing Inetutils-&inetutils-version;</title>
|
---|
| 3 | <?dbhtml filename="inetutils.html" dir="chapter06"?>
|
---|
| 4 |
|
---|
[5888299] | 5 | <para>The Inetutils package contains programs for basic networking.</para>
|
---|
| 6 |
|
---|
[69276a94] | 7 | <screen>&buildtime; &inetutils-time;
|
---|
| 8 | &diskspace; &inetutils-compsize;</screen>
|
---|
[cd8e54e] | 9 |
|
---|
[5888299] | 10 | &aa-inetutils-down;
|
---|
[d0dfce4] | 11 | &aa-inetutils-dep;
|
---|
[73aedd1d] | 12 |
|
---|
| 13 | <sect2><title> </title><para> </para></sect2>
|
---|
| 14 |
|
---|
| 15 | <sect2>
|
---|
| 16 | <title>Installation of Inetutils</title>
|
---|
| 17 |
|
---|
[2ad19ed] | 18 | <para>We are not going to install all the programs that come with Inetutils.
|
---|
| 19 | However, the Inetutils build system will insist on installing all the man
|
---|
| 20 | pages anyway. The following patch will correct this situation:</para>
|
---|
| 21 |
|
---|
| 22 | <screen><userinput>patch -Np1 -i ../&inetutils-no-server-man-pages-patch;</userinput></screen>
|
---|
| 23 |
|
---|
| 24 | <para>Now prepare Inetutils for compilation:</para>
|
---|
[73aedd1d] | 25 |
|
---|
[f4993cf] | 26 | <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
---|
[73aedd1d] | 27 | --sysconfdir=/etc --localstatedir=/var \
|
---|
[f4993cf] | 28 | --disable-logger --disable-syslogd \
|
---|
[73aedd1d] | 29 | --disable-whois --disable-servers</userinput></screen>
|
---|
| 30 |
|
---|
| 31 | <para>The meaning of the configure options:</para>
|
---|
| 32 |
|
---|
| 33 | <itemizedlist>
|
---|
| 34 | <listitem><para><userinput>--disable-logger</userinput>: This option
|
---|
[f4993cf] | 35 | prevents Inetutils from installing the logger program, which is used by
|
---|
[73aedd1d] | 36 | scripts to pass messages to the System Log Daemon. We do not install it
|
---|
| 37 | because Util-linux installs a better version later.</para></listitem>
|
---|
| 38 |
|
---|
[f4993cf] | 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>
|
---|
| 42 |
|
---|
[73aedd1d] | 43 | <listitem><para><userinput>--disable-whois</userinput>: This option disables
|
---|
[f4993cf] | 44 | the building of the Inetutils whois client, which is woefully out of date.
|
---|
[73aedd1d] | 45 | Instructions for a better whois client are in the BLFS book.</para></listitem>
|
---|
| 46 |
|
---|
| 47 | <listitem><para><userinput>--disable-servers</userinput>: This disables the
|
---|
| 48 | installation of the various network servers included as part of the Inetutils
|
---|
| 49 | package. These servers are deemed not appropriate in a basic LFS system. Some
|
---|
| 50 | are insecure by nature and are only considered safe on trusted networks. More
|
---|
| 51 | information can be found at
|
---|
| 52 | <ulink url="&blfs-root;view/stable/basicnet/inetutils.html"/>. Note that better
|
---|
| 53 | replacements are available for many of these servers.</para></listitem>
|
---|
| 54 | </itemizedlist>
|
---|
| 55 |
|
---|
| 56 | <para>Compile the package:</para>
|
---|
| 57 |
|
---|
| 58 | <screen><userinput>make</userinput></screen>
|
---|
| 59 |
|
---|
| 60 | <para>Install it:</para>
|
---|
| 61 |
|
---|
| 62 | <screen><userinput>make install</userinput></screen>
|
---|
| 63 |
|
---|
[4248b0e] | 64 | <para>And move the <command>ping</command> program to its FHS-compliant
|
---|
| 65 | place:</para>
|
---|
[73aedd1d] | 66 |
|
---|
| 67 | <screen><userinput>mv /usr/bin/ping /bin</userinput></screen>
|
---|
| 68 |
|
---|
| 69 | </sect2>
|
---|
[0b6cb04] | 70 |
|
---|
[5888299] | 71 | &aa-inetutils-shortdesc;
|
---|
| 72 | &aa-inetutils-desc;
|
---|
| 73 |
|
---|
[0b6cb04] | 74 | </sect1>
|
---|
[73aedd1d] | 75 |
|
---|