inetutils-inst.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Inetutils</title>
  4. <para>Prepare Inetutils for compilation:</para>
  5. <para><screen><userinput>./configure --prefix=/usr --disable-syslogd \
  6. &nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/sbin --disable-logger \
  7. &nbsp;&nbsp;&nbsp;&nbsp;--sysconfdir=/etc --localstatedir=/var \
  8. &nbsp;&nbsp;&nbsp;&nbsp;--disable-whois --disable-servers
  9. </userinput></screen></para>
  10. <para>The meaning of the configure options:</para>
  11. <itemizedlist>
  12. <listitem><para><userinput>--disable-syslogd</userinput>: This option
  13. prevents inetutils from installing the System Log Daemon, which is
  14. installed with the Sysklogd package.</para></listitem>
  15. <listitem><para><userinput>--disable-logger</userinput>: This option
  16. prevents inetutils from installing the logger program, which is used by
  17. scripts to pass messages to the System Log Daemon. We do not install it
  18. because Util-linux installs a better version later.</para></listitem>
  19. <listitem><para><userinput>--sysconfdir=/etc</userinput>: This option
  20. tells the binaries created by the package to look in /etc for their
  21. configuration files</para></listitem>
  22. <listitem><para><userinput>--disable-whois</userinput>: This option disables
  23. the building of the inetutils whois client, which is woefully out of date.
  24. Instructions for a better whois client are in the BLFS book.</para></listitem>
  25. <listitem><para><userinput>--disable-servers</userinput>: This disables the
  26. compilation of the various server utilities included as part of the Inetutils
  27. package. Many of these have known security vulnerabilities, and for most there
  28. are better replacements.</para></listitem>
  29. </itemizedlist>
  30. <para>Compile the package:</para>
  31. <para><screen><userinput>make</userinput></screen></para>
  32. <para>Install it:</para>
  33. <para><screen><userinput>make install</userinput></screen></para>
  34. <para>And move the <userinput>ping</userinput> program to its proper place:</para>
  35. <para><screen><userinput>mv /usr/bin/ping /bin</userinput></screen></para>
  36. </sect2>