How To Install Meld on Debian 8.6

To Install Meld on Debian 8.6

Meld is a free and open-source visual diff/merge tool which was created for the developers. Installing Meld on your Debian machine is as easy as it sounds. Earlier, we have covered the installation of Meld on Ubuntu, and this article covers the installation of Meld on Debian.

Installing Meld

If you want to install Meld on your Debian machine, you have to add the repository first. Use the following command for the same purpose.

root@linuxhelp:~# nano /etc/apt/sources.list
deb http://ftp.debian.org/debian/ stable main contrib non-free
deb http://ftp.de.debian.org/debian jessie main

Once it is done, update the repository as follows.

root@linuxhelp:~# apt-get update
Get:1 http://ftp.debian.org jessie-updates InRelease [145 kB]
Ign http://ftp.de.debian.org jessie InRelease                                                                
Get:2 http://ftp.de.debian.org jessie Release.gpg [2,373 B]                                                  
Get:3 http://security.debian.org jessie/updates InRelease [63.1 kB]                           
Get:4 http://ftp.de.debian.org jessie Release [148 kB]                                     
Ign http://ftp.debian.org stable InRelease                                                                          
Get:5 http://ftp.debian.org jessie-updates/main Sources [15.4 kB]                         
Get:6 http://ftp.debian.org jessie-updates/contrib Sources [32 B]                                            
Get:7 http://ftp.debian.org jessie-updates/main amd64 Packages/DiffIndex [6,916 B]         
Get:8 http://ftp.debian.org jessie-updates/contrib amd64 Packages [32 B]     
.
.
.
Get:24 http://ftp.debian.org stable/main Translation-en [4,582 kB]                                                                        
Get:25 http://ftp.de.debian.org jessie/main Translation-en [4,582 kB]                                                                     
Get:26 http://ftp.debian.org stable/non-free Translation-en [72.1 kB]                                                                     
Fetched 24.2 MB in 3min 29s (116 kB/s)                                                                                                    
Reading package lists... Done

Now is the time to install Meld. Use the following command for the same purpose.

root@linuxhelp:~# apt-get install meld -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python-gi-cairo
The following NEW packages will be installed:
  meld python-gi-cairo
0 upgraded, 2 newly installed, 0 to remove and 159 not upgraded.
Need to get 730 kB of archives.
After this operation, 3,231 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ stable/main python-gi-cairo amd64 3.14.0-1 [311 kB]
Get:2 http://ftp.debian.org/debian/ stable/main meld all 3.12.1-2 [419 kB]
Fetched 730 kB in 8s (87.1 kB/s)                                                                                                          
Selecting previously unselected package python-gi-cairo.
(Reading database ... 136779 files and directories currently installed.)
Preparing to unpack .../python-gi-cairo_3.14.0-1_amd64.deb ...
Unpacking python-gi-cairo (3.14.0-1) ...
Selecting previously unselected package meld.
Preparing to unpack .../archives/meld_3.12.1-2_all.deb ...
Unpacking meld (3.12.1-2) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for libglib2.0-0:amd64 (2.42.1-1+b1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up python-gi-cairo (3.14.0-1) ...
Setting up meld (3.12.1-2) ...

For accessing Meld click on the activities and type meld. The Meld icon appears on your screen, so click on it to open.

The Meld application looks as follows.

You can also remove the Meld package from your machine by running the following command.

root@linuxhelp:~# apt-get remove meld -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  meld
0 upgraded, 0 newly installed, 1 to remove and 159 not upgraded.
After this operation, 2,909 kB disk space will be freed.
(Reading database ... 137018 files and directories currently installed.)
Removing meld (3.12.1-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for libglib2.0-0:amd64 (2.42.1-1+b1) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for mime-support (3.58) ... 

Installing Meld was so simple, isn' t it? Meld has an assortment of uses. It is used for comparing files, directories, and version controlled projects. It supports two-way and three-way comparison of both files and directories. It also has support for many popular version control systems. Meld helps you review code changes and understand patches. It has Auto-merge mode and actions on change blocks which helps to make merges easier.

Tag : debian Meld
FAQ
Q
How to Find Difference Between Two Directories Using Diff and Meld Tools?
A
"The conventional syntax for running diff is as follows:

$ diff [OPTION]… FILES
$ diff options dir1 dir2"
Q
Can the Meld Knob turn on my burner on its own?
A
No. To start cooking with the Meld Knob + Clip you need to first push in and turn on your burner. Once your burner is on, you let the Meld app know, and Meld will take control from there. The Meld Knob cannot turn your burner on. The Meld Knob can turn your burner off and will do so at the end of a recipe when it notices your no longer using it, or if you boil everything out of your cookware.
Q
Can the Meld Knob + Clip control my oven?
A
No. The Meld Knob + Clip can only control your burner.
Q
how to comparing SVN/Git revisions (Meld)?
A
"I just had the same question (well at least in regards to svn) and stumbled upon this post. There are two answers (both executed in relevant WC directory):

1) svn diff --diff-cmd meld

or, far cooler on Meld's part:

2) meld
Q
Where do you know where off, high and low are?
A
After you install the Meld Knob on your cooktop the Meld app will walk you through a three-step calibration where you tell Meld where off, high and low are for your particular cooktop and knob.