Installing wdiff on Linux

Installing

wget http://ftp.gnu.org/gnu/wdiff/wdiff-latest.tar.gz
tar xvzf wdiff-latest.tar.gz
cd wdiff-x-x-x
yum install texinfo
./configure
make
make install

You should now have a wdiff binary at /usr/local/bin/wdiff

Usage

  • Show differences

    wdiff file1 file2
  • Show stats

    wdiff-3 -s file1 file2