8.59. Diffutils-3.10

#### Linux From Scratch - Version 12.1-systemd

### Chapter 8. Installing Basic System Software

- Prev

  Check-0.15.2

- Next

  Gawk-5.3.0

- Up
- Home

# 8.59. Diffutils-3.10

The Diffutils package contains programs that show the differences between files or directories.

Approximate build time: 0.3 SBU
Required disk space: 36 MB

## 8.59.1. Installation of Diffutils

Prepare Diffutils for compilation:

    ./configure --prefix=/usr

Compile the package:

    make

To test the results, issue:

    make check

Install the package:

    make install

## 8.59.2. Contents of Diffutils

Installed programs: cmp, diff, diff3, and sdiff

### Short Descriptions

cmp | Compares two files and reports any differences byte by byte
diff | Compares two files or directories and reports which lines in the files differ
diff3 | Compares three files line by line
sdiff | Merges two files and interactively outputs the results

- Prev

  Check-0.15.2

- Next

  Gawk-5.3.0

- Up
- Home