Ubuntu and Mint Linux

System Requirements:

  • Ubuntu: Intel 32- or 64-bit CPU running Ubuntu 12.04 LTS "Precise Pangolin" or newer.
  • Mint: Intel 32- or 64-bit CPU running Mint 14 "Nadia" or newer. It has been tested on Mint 14, but it should also work with Mint 13 "Lisa" since it is based on Ubuntu 12.04 LTS.
  • 20 MB available hard disk space.

Packaging Choices:

On Ubuntu and Mint Linux, DiffMerge is distributed as a standard debian DEB package. Both 32- and 64-bit Intel versions are now available.

DiffMerge is also available from the SourceGear Apt Repository.

Installing from the DEB:

After downloading the most recent DEB file, install DiffMerge using the following command:

sudo dpkg -i diffmerge_4.2.0.*.deb

This completely installs DiffMerge; this includes an executable in /usr/bin/diffmerge, a man page, and a menu item in the Ubuntu Application | Programming menu.

To uninstall, type the following:

sudo dpkg -r diffmerge

Installing from the Apt Repository:

You can enable your system to pull from the SourceGear Apt Repository by adding the repository to the Apt databases and then letting apt-get install DiffMerge.

The repository currently only contains stable releases based upon Ubuntu LTS releases; unstable or nightly releases are not currently published on the repository.

  • First, create a file named /etc/apt/sources.list.d/sourcegear.list with the following contents:

    deb http://debian.sourcegear.com/ubuntu UBUNTU_CODENAME main

    Where UBUNTU_CODENAME is the codename of currently installed version of Ubuntu, for example "precise" or "quantal". To get the name of your installed Ubuntu release, use the command lsb_release -c

    For Mint systems, UBUNTU_CODENAME should be set to the codename of the version of Ubuntu that the currently installed Mint release was based upon, for example for Mint 14 "Nadia" is based upon "quantal".

  • Second, add SourceGear's PGP key to APT. Packages in the SourceGear Apt Repository are cryptographically signed using a PGP key to ensure their integrity. In order to verify the package contents, you will need to add the SourceGear public key to Apt.

    sudo wget -O - http://debian.sourcegear.com/SOURCEGEAR-GPG-KEY
        | sudo apt-key add -

  • Third, after adding a new Apt Repository and installing a new PGP key, you will need to run the following command to update the Apt databases:

    sudo apt-get update

  • Finally, you can install DiffMerge:

    sudo apt-get install diffmerge