How To Install diffuse on Fedora 34

diffuse is Graphical tool for merging and comparing text files

Introduction

In this tutorial we learn how to install diffuse on Fedora 34.

What is diffuse

Diffuse is a graphical tool for merging and comparing text files. Diffuse is able to compare an arbitrary number of files side-by-side and gives users the ability to manually adjust line-matching and directly edit files. Diffuse can also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial, Monotone, RCS, Subversion, and SVK repositories for comparison and merging. This is the Python 3 fork of Diffuse.

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

Install diffuse on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install diffuse

Install diffuse on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install diffuse

How To Uninstall diffuse on Fedora 34

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

sudo dnf remove diffuse

diffuse Package Contents on Fedora 34

/etc/diffuserc
/usr/bin/diffuse
/usr/share/applications/diffuse.desktop
/usr/share/diffuse
/usr/share/diffuse/syntax
/usr/share/diffuse/syntax/bash.syntax
/usr/share/diffuse/syntax/c++.syntax
/usr/share/diffuse/syntax/csh.syntax
/usr/share/diffuse/syntax/csharp.syntax
/usr/share/diffuse/syntax/css.syntax
/usr/share/diffuse/syntax/erlang.syntax
/usr/share/diffuse/syntax/fortran.syntax
/usr/share/diffuse/syntax/gettext.syntax
/usr/share/diffuse/syntax/glsl.syntax
/usr/share/diffuse/syntax/html.syntax
/usr/share/diffuse/syntax/ini.syntax
/usr/share/diffuse/syntax/java.syntax
/usr/share/diffuse/syntax/javascript.syntax
/usr/share/diffuse/syntax/json.syntax
/usr/share/diffuse/syntax/jsp.syntax
/usr/share/diffuse/syntax/makefile.syntax
/usr/share/diffuse/syntax/objective-c++.syntax
/usr/share/diffuse/syntax/octave.syntax
/usr/share/diffuse/syntax/opencl.syntax
/usr/share/diffuse/syntax/pascal.syntax
/usr/share/diffuse/syntax/patch.syntax
/usr/share/diffuse/syntax/perl.syntax
/usr/share/diffuse/syntax/php.syntax
/usr/share/diffuse/syntax/python.syntax
/usr/share/diffuse/syntax/r.syntax
/usr/share/diffuse/syntax/ruby.syntax
/usr/share/diffuse/syntax/sql.syntax
/usr/share/diffuse/syntax/tcl.syntax
/usr/share/diffuse/syntax/vb.syntax
/usr/share/diffuse/syntax/verilog.syntax
/usr/share/diffuse/syntax/vhdl.syntax
/usr/share/diffuse/syntax/xml.syntax
/usr/share/doc/diffuse
/usr/share/doc/diffuse/AUTHORS
/usr/share/doc/diffuse/CHANGELOG.md
/usr/share/doc/diffuse/README.md
/usr/share/gnome/help/diffuse
/usr/share/gnome/help/diffuse/C
/usr/share/gnome/help/diffuse/C/diffuse.xml
/usr/share/gnome/help/diffuse/cs
/usr/share/gnome/help/diffuse/cs/diffuse.xml
/usr/share/gnome/help/diffuse/it
/usr/share/gnome/help/diffuse/it/diffuse.xml
/usr/share/gnome/help/diffuse/ru
/usr/share/gnome/help/diffuse/ru/diffuse.xml
/usr/share/icons/hicolor/16x16/apps/diffuse.png
/usr/share/icons/hicolor/22x22/apps/diffuse.png
/usr/share/icons/hicolor/24x24/apps/diffuse.png
/usr/share/icons/hicolor/256x256/apps/diffuse.png
/usr/share/icons/hicolor/32x32/apps/diffuse.png
/usr/share/icons/hicolor/48x48/apps/diffuse.png
/usr/share/licenses/diffuse
/usr/share/licenses/diffuse/COPYING
/usr/share/locale/cs/LC_MESSAGES/diffuse.mo
/usr/share/locale/de/LC_MESSAGES/diffuse.mo
/usr/share/locale/es/LC_MESSAGES/diffuse.mo
/usr/share/locale/it/LC_MESSAGES/diffuse.mo
/usr/share/locale/ja/LC_MESSAGES/diffuse.mo
/usr/share/locale/ko/LC_MESSAGES/diffuse.mo
/usr/share/locale/pl/LC_MESSAGES/diffuse.mo
/usr/share/locale/pt/LC_MESSAGES/diffuse.mo
/usr/share/locale/ru/LC_MESSAGES/diffuse.mo
/usr/share/locale/sv/LC_MESSAGES/diffuse.mo
/usr/share/locale/th/LC_MESSAGES/diffuse.mo
/usr/share/locale/zh_CN/LC_MESSAGES/diffuse.mo
/usr/share/locale/zh_TW/LC_MESSAGES/diffuse.mo
/usr/share/man/cs/man1/diffuse.1.gz
/usr/share/man/it/man1/diffuse.1.gz
/usr/share/man/man1/diffuse.1.gz
/usr/share/man/ru/man1/diffuse.1.gz
/usr/share/metainfo/diffuse.appdata.xml
/usr/share/omf/diffuse
/usr/share/omf/diffuse/diffuse-C.omf
/usr/share/omf/diffuse/diffuse-cs.omf
/usr/share/omf/diffuse/diffuse-it.omf
/usr/share/omf/diffuse/diffuse-ru.omf

References

Summary

In this tutorial we learn how to install diffuse on Fedora 34 using yum and dnf.