Linux From Scratch: Version 5.0-pre2
Prev | Chapter 6. Installing basic system software | Next

# Installing Patch-2.5.4

    Estimated build time:           0.1 SBU
    Estimated required disk space:  2 MB

## Contents of Patch

(Last checked against version 2.5.4.)

The patch program modifies a file according to a patch file. A patch file usually is a list, created by the diff program, that contains instructions on how an original file needs to be modified.

Patch installs the following:

### Program Files

patch

##

## Patch Installation Dependencies

(Last checked against version 2.5.4.)

Bash: sh
Binutils: as, ld
Coreutils: cat, chmod, echo, expr, hostname, install, mv, rm, tr, uname
Diffutils: cmp
GCC: cc, cc1, collect2, cpp0, gcc
Glibc: getconf
Grep: egrep, grep
Make: make
Sed: sed

##

## Installation of Patch

Prepare Patch for compilation:

    CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr

Compile the package:

    make

And install the package:

    make install

Prev | Home | Next
Installing Modutils-2.4.25 | Up | Installing Procinfo-18