Linux From Scratch: Version 5.0-pre1
Prev | Appendix A. Package descriptions and dependencies | Next

# Diffutils

For installation instructions see the Section called Installing Diffutils-2.8.1 in Chapter 6.

## Official Download Location

Diffutils (2.8.1):
ftp://ftp.gnu.org/gnu/diffutils/

## Contents of Diffutils

(Last checked against version 2.8.1.)

The programs from this package show you the differences between two files or directories. It's most common use is to create software patches.

Diffutils installs the following files:

### Program Files

cmp, diff, diff3 and sdiff

##

## Descriptions

(Last checked against version 2.8.1.)

### Program file descriptions

#### cmp and diff

cmp and diff both compare two files and report their differences. Both programs have extra options which compare files in different situations.

#### diff3

The difference between diff and diff3 is that diff compares 2 files, diff3 compares 3 files.

#### sdiff

sdiff merges two files and interactively outputs the results.

##

## Diffutils Installation Dependencies

(Last checked against version 2.7.)

Bash: sh
Binutils: ld, as
Coreutils: cat, chmod, cp, date, hostname, install, mv, rm, tr
Diffutils: cmp
GCC: cc1, collect2, cpp0, gcc
Grep: egrep, grep
Make: make
Sed: sed

Prev | Home | Next
Coreutils | Up | E2fsprogs