6.51. Diffutils-3.5

#### Linux From Scratch - Version 7.10-rc1

### Chapter 6. Installing Basic System Software

- Prev

  Coreutils-8.25

- Next

  Gawk-4.1.3

- Up
- Home

# 6.51. Diffutils-3.5

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

Approximate build time: 0.4 SBU
Required disk space: 28 MB

## 6.51.1. Installation of Diffutils

First fix a file so locale files are installed:

    sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in

Prepare Diffutils for compilation:

    ./configure --prefix=/usr

Compile the package:

    make

To test the results, issue:

    make check

The test-update-copyright.sh failure can be safely ignored.

Install the package:

    make install

## 6.51.2. Contents of Diffutils

Installed programs: cmp, diff, diff3, and sdiff

### Short Descriptions

cmp | Compares two files and reports whether or in which bytes they differ
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

  Coreutils-8.25

- Next

  Gawk-4.1.3

- Up
- Home