Meld Main

Meld – A Visual Diff and Merge tool for Linux Operating System

Introduction and Features

Files and directories comparison is the task that is often required, Meld takes this job seriously and is considered one of the best tools to perform comparisons between files, directories, and version control projects. It is widely used by Linux desktop users and app developers to cater their daily comparison needs. Here are some of the noteworthy features of this application.

  • It provides both two and three way comparison of files/folders.
  • Due to its “Auto Merge” feature, it makes easier to merge files/folders.
  • Easy graphical interface to navigate through differences.
  • Support for popular version control systems like Git, Mercurial, Bazaar and SVN.
  • It lets you view file versioning status in the control system.
  • This awesome application is available in many languages.
  • Ability for syntax highlightening and simple file management.
  • Support for integration with command line tools like git and mergetool

Installing Meld on Ubuntu/Linux Mint

This tool is built in python and uses GTK +3.12, so in order to use this application, we should have such dependencies/pre-requisits already installed on our linux system. Kindly note that following command will also install Meld on your Ubuntu/Mint system, but it will install old version.

sudo apt-get install meld

In order to install the latest version and get benefit from new features, we will need to perform the installation process manually. Run following command to install dependencies.

sudo apt-get install intltool itstool gir1.2-gtksource-3.0 libxml2-utils

Once the installation is complete, run following Git command to clone the Meld source repository on your Linux system.

git clone

Now go into the cloned directory:

cd meld

Here, run following command to install latest meld version.

sudo python install

Congratulations, Meld has been installed on your Linux system now. Launch it from Applications menu.

Launch meld

There you go, start comparing and merging files/folders.

Meld Main


Meld is a pretty stable and easy to use application; installation process is seamless and internet is full of help regarding the usage of this tool. It is also available for Windows operating system. Thousands of people all around the globe use this application on daily basis.

Please follow and like us:

7 thoughts on “Meld – A Visual Diff and Merge tool for Linux Operating System

  1. I install meld manually how you instruct here, but I get a lot of error when I try to start meld:
    (meld:24403): Gtk-WARNING **: Theme parsing error: gtk.css:102:18: Not using units is deprecated. Assuming ‘px’.
    (meld:24403): Gtk-WARNING **: Theme parsing error: gtk.css:102:20: Not using units is deprecated. Assuming ‘px’.
    Traceback (most recent call last):
    File “/usr/lib/python2.7/dist-packages/meld/”, line 72, in do_startup
    File “/usr/lib/python2.7/dist-packages/meld/”, line 138, in new_window
    window = meldwindow.MeldWindow()
    File “/usr/lib/python2.7/dist-packages/meld/”, line 264, in __init__
    builder = meld.ui.util.get_builder(“shortcuts.ui”)
    File “/usr/lib/python2.7/dist-packages/meld/ui/”, line 40, in get_builder
    gi._glib.GError: Invalid object type `GtkShortcutsWindow’
    Traceback (most recent call last):
    File “/usr/lib/python2.7/dist-packages/meld/”, line 78, in do_command_line
    tab = self.parse_args(command_line)
    File “/usr/lib/python2.7/dist-packages/meld/”, line 336, in parse_args
    focus=i == 0)
    File “/usr/lib/python2.7/dist-packages/meld/”, line 149, in open_files
    window = self.get_meld_window()
    File “/usr/lib/python2.7/dist-packages/meld/”, line 144, in get_meld_window
    return self.get_active_window().meldwindow
    AttributeError: ‘NoneType’ object has no attribute ‘meldwindow’
    Note that my OS is Ubuntu with XFCE DE.

    • That seems a weird error, which Ubuntu version you are using ? also have you tried it running under privileged user?

  2. ramesh@ramesh-laptop ~/meld $ sudo python install
    running install
    running build
    running build_py
    copying meld/ -> build/lib.linux-x86_64-2.7/meld/
    error: package directory ‘meld/util’ does not exist
    ramesh@ramesh-laptop ~/meld $

Leave a Comment

two + 9 =