Linux From Scratch: Version 5.0-pre3
Prev | Chapter 5. Constructing a temporary system | Next

# Installing Coreutils-5.0

    Estimated build time:           0.9 SBU
    Estimated required disk space:  69 MB

## Contents of Coreutils

The Coreutils package contains a whole series of basic shell utilities.

(Last checked against version 5.0.)

Installed programs: basename, cat, chgrp, chmod, chown, chroot, cksum, comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du, echo, env, expand, expr, factor, false, fmt, fold, groups, head, hostid, hostname, id, install, join, kill, link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod, mv, nice, nl, nohup, od, paste, pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, rm, rmdir, seq, sha1sum, shred, sleep, sort, split, stat, stty, su, sum, sync, tac, tail, tee, test, touch, tr, true, tsort, tty, uname, unexpand, uniq, unlink, uptime, users, vdir, wc, who, whoami and yes

##

## Coreutils Installation Dependencies

Not yet checked but probably something like this:

Bash: sh
Binutils: ar, as, ld, ranlib
Coreutils: basename, cat, chmod, chown, echo, expr, hostname,
install, ls, mv, rm, sleep, tr, uname
Diffutils: cmp
Gawk: gawk
GCC: cc, cc1, collect2, cpp, gcc
Gettext: msgfmt, xgettext
Glibc: getconf
Grep: egrep, fgrep, grep
Make: make
Perl: perl
Sed: sed
Tar: tar
Texinfo: install-info, makeinfo

##

## Installation of Coreutils

Prepare Coreutils to be compiled:

    ./configure --prefix=/tools

Compile the package:

    make

This package has a test suite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, the following command will do so:

    make RUN_EXPENSIVE_TESTS=yes check

The meaning of the make option:

- `RUN_EXPENSIVE_TESTS=yes`: This tells the test suite to run several additional tests that are considered relatively expensive on some platforms. However, they are generally not a problem on Linux.

And install the package:

    make install

Prev | Home | Next
Installing Gawk-3.1.3 | Up | Installing Bzip2-1.0.2