How To Install meld on CentOS 7

In this tutorial we learn how to install meld on CentOS 7. meld is Visual diff and merge tool

Introduction

In this tutorial we learn how to install meld on CentOS 7.

What is meld

Meld is a visual diff and merge tool targeted at developers. It helps you compare files, directories, and version controlled projects. It provides two- and three-way comparison of both files and directories, and the tabbed interface allows you to open many diffs at once. Meld has has support for many popular version control systems including Git, Mercurial, Bazaar, SVN and CVS. The diff viewer lets you edit files in place (diffs update dynamically), and a middle column shows detailed changes and allows merges. The margins show location of changes for easy navigation.

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

Install meld on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install meld

Install meld on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install meld

How To Uninstall meld on CentOS 7

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

sudo dnf remove meld

References

Summary

In this tutorial we learn how to install meld on CentOS 7 using yum and dnf.