5.14. Coreutils-6.7

The Coreutils package contains utilities for showing and setting the basic system characteristics.

5.14.1. Installation of Coreutils

Prepare Coreutils for compilation:

./configure --prefix=/tools

Compile the package:

make

Install the package:

make install

The su program was not installed because make install needs to be run as root to install su with suid permission. We will need su in the next chapter, but it will be executed by root and so will not need the suid permission. Furthermore, to prevent this su from accidentally being used on the host system it will be renamed. Install su with the following command:

install -v src/su /tools/bin/tools-su

Details on this package are located in Section 6.18.2, “Contents of Coreutils.”