Skip to content

Instantly share code, notes, and snippets.

@atacratic
Last active October 28, 2019 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atacratic/04a1b5560ceccc3739064137289766a1 to your computer and use it in GitHub Desktop.
Save atacratic/04a1b5560ceccc3739064137289766a1 to your computer and use it in GitHub Desktop.
Running `git difftool` for the first time and installing meld - on linux

chris@chris-ubuntu:~/unison$ git difftool HEAD HEAD^1

This message is displayed because 'diff.tool' is not configured.
See 'git difftool --tool-help' or 'git help config' for more details.
'git difftool' will now attempt to use one of the following tools:
meld opendiff kdiff3 tkdiff xxdiff kompare gvimdiff diffuse diffmerge ecmerge p4merge araxis bc codecompare emerge vimdiff

Viewing (1/1): 'parser-typechecker/src/Unison/Codebase/TranscriptParser.hs'
Launch 'bc' [Y/n]? Y
The diff tool bc is not available as 'bcompare'
fatal: external diff died, stopping at parser-typechecker/src/Unison/Codebase/TranscriptParser.hs

chris@chris-ubuntu:~/unison$ meld


Command 'meld' not found, but can be installed with:

sudo apt install meld

chris@chris-ubuntu:~/unison$ sudo apt install meld

[sudo] password for chris: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libllvm7
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed
  meld
0 to upgrade, 1 to newly install, 0 to remove and 170 not to upgrade.
Need to get 494 kB of archives.
After this operation, 3,177 kB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 meld all 3.18.0-6 [494 kB]
Fetched 494 kB in 0s (5,688 kB/s)
Selecting previously unselected package meld.
(Reading database ... 172103 files and directories currently installed.)
Preparing to unpack .../archives/meld_3.18.0-6_all.deb ...
Unpacking meld (3.18.0-6) ...
Setting up meld (3.18.0-6) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

chris@chris-ubuntu:~/unison$ git difftool HEAD HEAD^1

This message is displayed because 'diff.tool' is not configured.
See 'git difftool --tool-help' or 'git help config' for more details.
'git difftool' will now attempt to use one of the following tools:
meld opendiff kdiff3 tkdiff xxdiff kompare gvimdiff diffuse diffmerge ecmerge p4merge araxis bc codecompare emerge vimdiff

Viewing (1/1): 'parser-typechecker/src/Unison/Codebase/TranscriptParser.hs'
Launch 'meld' [Y/n]? Y
chris@chris-ubuntu:~/unison$ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment