PDA

View Full Version : compare files software on linux


lanchen
January 17th, 2006, 06:48 AM
Hi all,

could you please recommend a good software to compare two files of source codes? I prefer graphical one.

Many thanks,

Lan

frodon
January 17th, 2006, 06:51 AM
i use tkdiff.

joselin
January 17th, 2006, 07:23 AM
You can use meld (http://meld.sourceforge.net/)

Regards

lanchen
January 17th, 2006, 07:26 AM
tkdiff is working. thx

kperkins
January 17th, 2006, 10:00 PM
Kompare
Why doesn't gnome have a diff gui?

ardchoille
January 17th, 2006, 10:06 PM
open a terminal and do:


diff /path/to/file-one /path/to/file-two


diff will spit out the differences, or diff will return nothing if there are no differences.

frodon
January 18th, 2006, 05:03 AM
Kompare
Why doesn't gnome have a diff gui?it has one, but i don't rmember the name ... maybe gdiff.

kperkins
January 18th, 2006, 09:09 AM
it has one, but i don't rmember the name ... maybe gdiff.
Nope gdiffis an emacs macro. I did find meld, but the version in breezy won't open any files for me. It freezes at the open file dialog when browsing. (with a glibc error. Might need a newer version--the newest is 1.1.2 and the one in breezy is 1.0.0. I may try upgrading it later--looks like they use the Debian package without any changes.

purpleturtle
February 2nd, 2006, 05:39 PM
Winmerge on Windows in the best differ I've ever used (and it's free..) I'd be happy if I could find one as good on Linux (I wonder if it works under Wine....? ) although to be fair I haven't spent much time looking yet...

frodon
February 3rd, 2006, 05:11 AM
all of them are as good as winmerge i think, try them and see ;)

Greg2
February 3rd, 2006, 10:32 AM
I did find meld, but the version in breezy won't open any files for me. It freezes at the open file dialog when browsing. (with a glibc error. Might need a newer version--the newest is 1.1.2 and the one in breezy is 1.0.0. I may try upgrading it later--looks like they use the Debian package without any changes.
I’ve been using meld 1.0.0-1 from the breezy-backports without any problems.

desp
February 5th, 2006, 02:30 PM
I had been using KDiff3 and WinMerge in Windows. As a matter of personal taste, I preferred KDiff3 (faster and more flexible), even though I found the Winmerge GUI better.

When I switched to Linux, I found I could still use KDiff3, or even better, Meld.

I remember having a couple of problems with version 1.0.0, but those have since long been corrected by the 1.1.2 version available from the backport repositories.

A *very* nice thing that Meld has got (apart from the nice GUI and GNOME integration) is syntax highlighting. It is also very easy to set it up to ignore CVS keywords, comments, etc.

The only thing in which KDiff3 might be superior is in the merging capabilities.

I'd just give all options a try and use the one you're feeling more comfortable with.

entangled
February 5th, 2006, 03:35 PM
gvim also gives a good view of diffs, when you open a second file with the 'Split Diffs with ...' option.
Has the advantage of using syntax highlighting.
Has the disadvantage (AFAIK) that it is always case-sensitive.

joselin
February 5th, 2006, 03:44 PM
Nope gdiffis an emacs macro. I did find meld, but the version in breezy won't open any files for me. It freezes at the open file dialog when browsing. (with a glibc error. Might need a newer version--the newest is 1.1.2 and the one in breezy is 1.0.0. I may try upgrading it later--looks like they use the Debian package without any changes.

I have the same problem too. What i do is, in the choosen file dialog i select file or folder comparison and the press ok. After that, you can change both paths or files in the main screen.

Regards.

kperkins
February 5th, 2006, 03:57 PM
I did download meld 1.1.2 (debian) and installed it, and it works great. Sorry I didn't get back before this, but I forgot. :(

desp
February 5th, 2006, 05:33 PM
I have the same problem too. What i do is, in the choosen file dialog i select file or folder comparison and the press ok. After that, you can change both paths or files in the main screen.

Regards.

As I said on my last post, Meld 1.1.2 is available in the breezy-backports repositories. The problem you're referring to with your workaround is fixed on that version.

You may want to give it a try.

BTW, I did not know you could view diffs with gvim, I'll give it a go tomorrow...

Cheers.

joselin
February 6th, 2006, 06:22 AM
I just download from the backports and works fine.

Thanks.

schickm
May 28th, 2008, 12:16 PM
Yep, meld hands down! I can't speak for it's merging capabilities, but it's display is far superior to tkdiff.

kaligus
July 18th, 2008, 08:38 PM
I tried meld for two weeks... winmerge still wins (in wine) sadly.

The ability to save "projects" and remerge them tomorrow or next week without remembering the directories to find everything in etc. is most awesome...

If someone knows software that hits the best of meld *AND* winmerge that is native I would love to hear about it

kknd
July 19th, 2008, 10:45 AM
you Can Use Meld (http://meld.sourceforge.net/)

Regards

+1