Approximate build time: 0.2 SBU Required disk space: 5.2 MB |
Official download location for Sed (4.0.9):
ftp://ftp.gnu.org/gnu/sed/
For its installation Sed depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, Make, Texinfo.
Prepare Sed for compilation:
./configure --prefix=/tools |
Compile the program:
make |
As discussed earlier, we don't recommend running the test suites for the temporary tools here in this chapter. If you still want to run the Sed test suite anyway, the following command will do so:
make check |
Then install it and its documentation:
make install |
The details on this package are found in the Section called Contents of Sed in Chapter 6.