Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good diff tools under Ubuntu GNOME

Could somebody give me some recommendations on diff tools on Ubuntu? Actually what I need is not just file comparison, but also directory comparison.

I think diff tools under Windows is really most convenient, especially WinMerge.

But under Ubuntu, what I can get with high efficiency is only TkDiff, but it only support file comparison?

Hope to get some help from here.

like image 883
BO KANG Avatar asked Nov 01 '10 01:11

BO KANG


People also ask

What is Meld in Ubuntu?

Meld is a visual diff and merge tool targeted at developers. Meld helps you compare files, directories, and version controlled projects. It provides two- and three-way comparison of both files and directories, and has support for many popular version control systems.

How install diff Linux?

The diff command is bundled inside the GNU diffUtils package along with other comparison tools such as cmp, sdiff, and diff3. As such, most Linux distros come with a preinstalled copy of the diffUtils package. So, we can skip the installation if we already have the required binary file for diff.

How do you use Meld?

If you start Meld from the command line, you can tell it what to do when it starts. For a two- or three-way file comparison, start Meld with meld file1 file2 or meld file1 file2 file3 respectively. For a two- or three-way directory comparison, start Meld with meld dir1 dir2 or meld dir1 dir2 dir3.


2 Answers

Meld is an actively-developed, open-source GUI-based diff utility targeted at developers.

  • It is free
  • It runs on Linux
  • GNU License
  • 40+ posts tagged as meld on Stack Overflow.
  • Actively developed through February 2013 (the time of this posting)
  • Allows two and three way comparison between files and folders
  • Supports Subversion, Git, and Mercurial
like image 143
Brian Webster Avatar answered Oct 06 '22 19:10

Brian Webster


I usually use kdiff3 and happy with it. It can handle directories too.

like image 27
Ilia K. Avatar answered Oct 06 '22 18:10

Ilia K.