The diffutils package provides the diff, diff3, sdiff, and cmp programs.
`diff' shows differences between two files, or each corresponding file in two directories. `cmp' shows the offsets and line numbers where two files differ. `cmp' can also show all the characters that differ between the two files, side by side. `diff3' shows differences among three files. `sdiff' merges two files interactively.
The set of differences produced by `diff' can be used to distribute updates to text files (such as program source code) to other people. This method is especially useful when the differences are small compared to the complete files. Given `diff' output, the `patch' program can update, or "patch", a copy of the file.
`diff' shows differences between two files, or each corresponding file in two directories. `cmp' shows the offsets and line numbers where two files differ. `cmp' can also show all the characters that differ between the two files, side by side. `diff3' shows differences among three files. `sdiff' merges two files interactively.
The set of differences produced by `diff' can be used to distribute updates to text files (such as program source code) to other people. This method is especially useful when the differences are small compared to the complete files. Given `diff' output, the `patch' program can update, or "patch", a copy of the file.
Original maintainer | Santiago Vila |
---|---|
Homepage | https://www.gnu.org/software/diffutils/ |
3.7










3.6








3.5

3.3



Distribution | Version | Since | Package | Installed | Packager | |
---|---|---|---|---|---|---|
![]() | xz | 3.7-3 | 2019-11-18 | 324 kiB | 1.39 MiB | Evangelos Foutras |
![]() | rpm | 3.3-5.el7 | 2020-01-07 | 322 kiB | 1.02 MiB | CentOS BuildSystem |
![]() | deb | 1:3.7-3 | 2019-06-17 | 362 kiB | 1.54 MiB | Santiago Vila |
![]() | deb | 1:3.5-3 | 2017-11-10 | 307 kiB | 1.3 MiB | Santiago Vila |
![]() | rpm | 3.6-4.fc28 | 2019-01-14 | 357 kiB | 1.34 MiB | Fedora Project |
![]() | rpm | 3.6-4.fc28 | 2019-01-14 | 357 kiB | 1.34 MiB | Fedora Project |
![]() | rpm | 3.6-4.fc28 | 2019-01-14 | 357 kiB | 1.34 MiB | Fedora Project |
![]() | rpm | 3.6-5.fc29 | 2019-01-14 | 350 kiB | 1.35 MiB | Fedora Project |
![]() | rpm | 3.6-5.fc29 | 2019-01-14 | 350 kiB | 1.35 MiB | Fedora Project |
![]() | rpm | 3.6-5.fc29 | 2019-01-14 | 350 kiB | 1.35 MiB | Fedora Project |
![]() | rpm | 3.6-5.fc29 | 2019-01-14 | 350 kiB | 1.35 MiB | Fedora Project |
![]() | rpm | 3.6-5.fc29 | 2019-01-14 | 350 kiB | 1.35 MiB | Fedora Project |
![]() | rpm | 3.6-5.fc29 | 2019-01-14 | 350 kiB | 1.35 MiB | Fedora Project |
![]() | rpm | 3.7-2.fc30 | 2019-06-17 | 384 kiB | 1.69 MiB | Fedora Project |
![]() | rpm | 3.7-2.fc30 | 2019-06-17 | 384 kiB | 1.69 MiB | Fedora Project |
![]() | rpm | 3.7-2.fc30 | 2019-06-17 | 384 kiB | 1.69 MiB | Fedora Project |
![]() | rpm | 3.7-2.fc30 | 2019-06-17 | 384 kiB | 1.69 MiB | Fedora Project |
![]() | rpm | 3.7-2.fc30 | 2019-06-17 | 384 kiB | 1.69 MiB | Fedora Project |
![]() | rpm | 3.7-3.fc31 | 2020-01-07 | 401 kiB | 1.49 MiB | Fedora Project |
![]() | rpm | 3.7-3.fc31 | 2020-01-07 | 401 kiB | 1.49 MiB | Fedora Project |
![]() | rpm | 3.7-4.fc32 | 2020-02-08 | 397 kiB | 1.45 MiB | Fedora Project |
![]() | rpm | 3.7-4.fc32 | 2020-02-08 | 397 kiB | 1.45 MiB | Fedora Project |
![]() | rpm | 3.7-3.fc31 | 2019-07-30 | 401 kiB | 1.49 MiB | Fedora Project |
![]() | xz | 3.7-1 | 2019-01-14 | 327 kiB | 1.39 MiB | Sébastien Luttringer |
![]() | xz | 3.7-1 | 2019-01-14 | 327 kiB | 1.39 MiB | Sébastien Luttringer |
![]() | xz | 3.7-1 | 2019-01-14 | 327 kiB | 1.39 MiB | Sébastien Luttringer |
![]() | rpm | 3.6-lp150.2.2 | 2019-01-17 | 187 kiB | 425 kiB | https://bugs.opensuse.org |
![]() | rpm | 3.6-lp151.3.3 | 2019-01-23 | 187 kiB | 425 kiB | https://bugs.opensuse.org |
![]() | rpm | 3.6-lp152.4.3 | 2020-01-07 | 183 kiB | 425 kiB | https://bugs.opensuse.org |
![]() | rpm | 3.3-10.3 | 2019-01-17 | 199 kiB | 453 kiB | http://bugs.opensuse.org |
![]() | rpm | 3.7-3.2 | 2020-03-11 | 212 kiB | 449 kiB | https://bugs.opensuse.org |
![]() | deb | 1:3.6-1 | 2017-11-10 | 163 kiB | 452 kiB | Ubuntu Developers |
![]() | deb | 1:3.6-1 | 2017-11-10 | 163 kiB | 452 kiB | Ubuntu Developers |
![]() | deb | 1:3.6-1 | 2019-01-14 | 163 kiB | 452 kiB | Ubuntu Developers |
![]() | deb | 1:3.7-2 | 2019-02-19 | 195 kiB | 532 kiB | Ubuntu Developers |
![]() | deb | 1:3.7-3 | 2019-06-17 | 195 kiB | 532 kiB | Ubuntu Developers |
![]() | deb | 1:3.7-3 | 2020-01-07 | 195 kiB | 532 kiB | Ubuntu Developers |
![]() | deb | 1:3.3-3 | 2017-11-10 | 152 kiB | 416 kiB | Ubuntu Developers |
Manual pages
Latest updates

OpenSUSE Tumbleweed oss: Updated from 3.7-3.1 to 3.7-3.2
2020-03-11
- Do not recommend lang package. The lang package already has a supplements.

Fedora rawhide development/Server-os: Updated from 3.7-3.fc31 to 3.7-4.fc32
2020-02-08

Fedora rawhide development/Everything-os: Updated from 3.7-3.fc31 to 3.7-4.fc32
2020-02-08

Fedora 31 releases/Server-os: Version 3.7-3.fc31 introduced
2020-01-07

Fedora 31 releases/Everything-os: Version 3.7-3.fc31 introduced
2020-01-07

OpenSUSE Leap 15.2 oss: Version 3.6-lp152.4.3 introduced
2020-01-07
- Use %license (boo#1082318)

CentOS 7.7.1908 os: Version 3.3-5.el7 introduced
2020-01-07
- Resolves: #1611281, diff -y produces garbage

Ubuntu 20.04 focal/main: Version 1:3.7-3 introduced
2020-01-07

Arch rolling testing/os: Version 3.7-3 removed
2019-11-18

Arch rolling core/os: Updated from 3.7-2 to 3.7-3
2019-11-18

Arch rolling testing/os: Version 3.7-3 introduced
2019-11-14

Arch rolling staging/os: Version 3.7-3 removed
2019-11-14

Arch rolling staging/os: Version 3.7-3 introduced
2019-11-13

OpenSUSE Tumbleweed oss: Updated from 3.7-2.1 to 3.7-3.1
2019-10-12
- Do not recommend lang package. The lang package already has a supplements.

Arch rolling testing/os: Version 3.7-2 removed
2019-10-08

Arch rolling core/os: Updated from 3.7-1 to 3.7-2
2019-10-08

Arch rolling testing/os: Version 3.7-2 introduced
2019-10-06

CentOS 7.6.1810 cr: Version 3.3-5.el7 introduced
2019-08-30
- Resolves: #1611281, diff -y produces garbage

Ubuntu 19.10 eoan/main: Version 1:3.7-3 reintroduced
2019-08-19

Ubuntu 19.10 eoan/main: Version 1:3.7-3 removed
2019-08-19
Related packages
diffutils-debuginfo - Debug information for package diffutils
diffutils-debugsource - Debug sources for package diffutils
diffutils-doc - Documentation for GNU diffutils in HTML format
diffutils-lang - Translations for package diffutils