Installing Coreutils-&coreutils-version;
&buildtime; &coreutils-time-tools;
&diskspace; &coreutils-compsize-tools;
Official download location for Coreutils (&coreutils-version;):
And for the patch:
&aa-coreutils-dep;
Installation of Coreutils
This package has an issue when compiled against Glibc-&glibc-version;.
Without the patch below, some of the Coreutils utilities (such as
(head, tail and sort)
will reject their traditional syntax, a syntax that has been in use for
approximately 30 years. This old syntax is so pervasive that compatibility
should be preserved until the many places where it is used can be updated. More
details on this are provided in the comments inside the patch itself. Use of
this patch is by no means compulsory, but not using it means you'll have to
deal with the consequences yourself: patch the many packages that still use the
old syntax. Therefore, better apply the patch:
patch -Np1 -i ../&coreutils-posixver-patch;
Now prepare Coreutils for compilation:
./configure --prefix=/tools
Compile the package:
make
(If you insist on testing the results, then issue:
make RUN_EXPENSIVE_TESTS=yes check. The
RUN_EXPENSIVE_TESTS=yes parameter tells the test suite to
run several additional tests that are considered relatively expensive on some
platforms but generally are not a problem on Linux.)
And install the package:
make install
The details on this package are found in .