6.41. Inetutils-1.9.4

The Inetutils package contains programs for basic networking.

Approximate build time: 0.4 SBU
Required disk space: 28 MB

6.41.1. Installation of Inetutils

Prepare Inetutils for compilation:

./configure --prefix=/usr        \
            --localstatedir=/var \
            --disable-logger     \
            --disable-whois      \
            --disable-rcp        \
            --disable-rexec      \
            --disable-rlogin     \
            --disable-rsh        \

The meaning of the configure options:


These parameters disable building obsolete programs that should not be used due to security issues. The functions provided by these programs can be provided by the openssh package in the BLFS book.


This option prevents Inetutils from installing the logger program, which is used by scripts to pass messages to the System Log Daemon. Do not install it because Util-linux installs a more recent version.


This option disables the building of the Inetutils whois client, which is out of date. Instructions for a better whois client are in the BLFS book.


This disables the installation of the various network servers included as part of the Inetutils package. These servers are deemed not appropriate in a basic LFS system. Some are insecure by nature and are only considered safe on trusted networks. Note that better replacements are available for many of these servers.

Compile the package:


To test the results, issue:

make check

One test, libls.sh, is known to fail due to hard coding of some support program paths. All tests pass if the tests are rerun at the end of Chapter 6.

Install the package:

make install

Move some programs so they are available if /usr is not accessible:

mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin
mv -v /usr/bin/ifconfig /sbin

6.41.2. Contents of Inetutils

Installed programs: ftp, ifconfig, hostname, ping, ping6, rcp, rexec, rlogin, rsh, talk, telnet, tftp, and traceroute

Short Descriptions


Is the file transfer protocol program


Manages network interfaces


Reports or sets the name of the host


Sends echo-request packets and reports how long the replies take


A version of ping for IPv6 networks


Is used to chat with another user


An interface to the TELNET protocol


A trivial file transfer program


Traces the route your packets take from the host you are working on to another host on a network, showing all the intermediate hops (gateways) along the way