6.32. Inetutils-1.8

The Inetutils package contains programs for basic networking.

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

6.32.1. Installation of Inetutils

./configure --prefix=/usr --libexecdir=/usr/sbin \
    --localstatedir=/var --disable-ifconfig \
    --disable-logger --disable-syslogd --disable-whois \

The meaning of the configure options:


This option prevents Inetutils from installing the ifconfig program, which can be used to configure network interfaces. LFS uses ip from IPRoute2 to perform this task.


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 installed a version earlier.


This option prevents Inetutils from installing the System Log Daemon, which is installed with the Sysklogd package.


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. More information can be found at http://www.linuxfromscratch.org/blfs/view/svn/basicnet/inetutils.html. Note that better replacements are available for many of these servers.

Compile the package:


This package does not come with a test suite.

Install the package:

make install

Move some programs to their FHS-compliant place:

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

6.32.2. Contents of Inetutils

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

Short Descriptions


Is the file transfer protocol program


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


Performs remote file copy


executes commands on a remote host


Performs remote login


Runs a remote shell


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