inetutils.xml 2.7 KB

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