How To Install wdiff on Fedora 36

In this tutorial we learn how to install wdiff in Fedora 36. wdiff is Compare files on a word per word basis

Introduction

In this tutorial we learn how to install wdiff on Fedora 36.

What is wdiff

The GNU wdiff program is a front end to diff for comparing files on a word per word basis. A word is anything between whitespace. This is useful for comparing two texts in which a few words have been changed and for which paragraphs have been refilled. It works by creating two temporary files, one word per line, and then executes diff on these files. It collects the diff output and uses it to produce a nicer display of word differences between the original files.

We can use yum or dnf to install wdiff on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install wdiff.

Install wdiff on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install wdiff using dnf by running the following command:

sudo dnf -y install wdiff

Install wdiff on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install wdiff using yum by running the following command:

sudo yum -y install wdiff

How To Uninstall wdiff on Fedora 36

To uninstall only the wdiff package we can use the following command:

sudo dnf remove wdiff

wdiff Package Contents on Fedora 36

/usr/bin/mdiff
/usr/bin/unify
/usr/bin/wdiff
/usr/bin/wdiff2
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/df6a7af57e2e701a1a02fc70bbd593805b513f
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/14f0e507b5d0f28c739fcab374b19ab7732011
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/a40becad9d256ec50e368715e6f03986990285
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/20cfbc6058b55d0ca473c1177f10bcf26af887
/usr/share/doc/wdiff
/usr/share/doc/wdiff/ABOUT-NLS
/usr/share/doc/wdiff/AUTHORS
/usr/share/doc/wdiff/BACKLOG
/usr/share/doc/wdiff/ChangeLog
/usr/share/doc/wdiff/NEWS
/usr/share/doc/wdiff/README
/usr/share/doc/wdiff/THANKS
/usr/share/doc/wdiff/TODO
/usr/share/doc/wdiff/html
/usr/share/doc/wdiff/html/Compatibility.html
/usr/share/doc/wdiff/html/Efficiency.html
/usr/share/doc/wdiff/html/Experimental-History.html
/usr/share/doc/wdiff/html/Experimental.html
/usr/share/doc/wdiff/html/Overview.html
/usr/share/doc/wdiff/html/diff-Compatibility.html
/usr/share/doc/wdiff/html/index.html
/usr/share/doc/wdiff/html/mdiff-invocation.html
/usr/share/doc/wdiff/html/mdiff.html
/usr/share/doc/wdiff/html/unify-invocation.html
/usr/share/doc/wdiff/html/unify.html
/usr/share/doc/wdiff/html/wdiff-Compatibility.html
/usr/share/doc/wdiff/html/wdiff-Examples.html
/usr/share/doc/wdiff/html/wdiff-invocation.html
/usr/share/doc/wdiff/html/wdiff.html
/usr/share/info/wdiff.info.gz
/usr/share/licenses/wdiff
/usr/share/licenses/wdiff/COPYING
/usr/share/locale/ca/LC_MESSAGES/wdiff.mo
/usr/share/locale/cs/LC_MESSAGES/wdiff.mo
/usr/share/locale/da/LC_MESSAGES/wdiff.mo
/usr/share/locale/de/LC_MESSAGES/wdiff.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/wdiff.mo
/usr/share/locale/en@quot/LC_MESSAGES/wdiff.mo
/usr/share/locale/en_GB/LC_MESSAGES/wdiff.mo
/usr/share/locale/es/LC_MESSAGES/wdiff.mo
/usr/share/locale/et/LC_MESSAGES/wdiff.mo
/usr/share/locale/fi/LC_MESSAGES/wdiff.mo
/usr/share/locale/fr/LC_MESSAGES/wdiff.mo
/usr/share/locale/ga/LC_MESSAGES/wdiff.mo
/usr/share/locale/gl/LC_MESSAGES/wdiff.mo
/usr/share/locale/hu/LC_MESSAGES/wdiff.mo
/usr/share/locale/id/LC_MESSAGES/wdiff.mo
/usr/share/locale/it/LC_MESSAGES/wdiff.mo
/usr/share/locale/ms/LC_MESSAGES/wdiff.mo
/usr/share/locale/nb/LC_MESSAGES/wdiff.mo
/usr/share/locale/nl/LC_MESSAGES/wdiff.mo
/usr/share/locale/pl/LC_MESSAGES/wdiff.mo
/usr/share/locale/pt_BR/LC_MESSAGES/wdiff.mo
/usr/share/locale/ro/LC_MESSAGES/wdiff.mo
/usr/share/locale/ru/LC_MESSAGES/wdiff.mo
/usr/share/locale/sk/LC_MESSAGES/wdiff.mo
/usr/share/locale/sl/LC_MESSAGES/wdiff.mo
/usr/share/locale/sv/LC_MESSAGES/wdiff.mo
/usr/share/locale/tr/LC_MESSAGES/wdiff.mo
/usr/share/locale/uk/LC_MESSAGES/wdiff.mo
/usr/share/locale/vi/LC_MESSAGES/wdiff.mo
/usr/share/locale/zh_CN/LC_MESSAGES/wdiff.mo
/usr/share/locale/zh_TW/LC_MESSAGES/wdiff.mo
/usr/share/man/man1/mdiff.1.gz
/usr/share/man/man1/unify.1.gz
/usr/share/man/man1/wdiff.1.gz
/usr/share/man/man1/wdiff2.1.gz

References

Summary

In this tutorial we learn how to install wdiff on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).