Install meld on OS X

After I installed MacPorts and did "sudo port -v selfupdate", I try to install meld.

Installation just begins by downloading all sorts of material gnome-comoon perl5.8 perl5 pkg-config ..... it goes on and on.

This is normal?

+10
meld
source share
7 answers

You can install it through HomeBrew (already mentioned earlier):

brew install homebrew/gui/meld 

Although you may encounter stability issues (like me). Therefore, I would prefer to use "Meld for OSX":

Mostly we do, but it is not available through the command line.

Decision:

  • Write a small shell to run from the terminal:

     echo -e '#!/bin/sh params="$@" open -W -a Meld --args $params' | sudo tee /usr/local/bin/meld sudo chmod +x /usr/local/bin/meld 
  • Try it ( you should use absolute paths, but ):

     meld /home/a.txt /home/b.txt 

    Or just launch Meld from the menu.

+10
source share

meld is now available at homebrew . The formula can be found here .

See this cmedeiros answer on SuperUser for more information on installing and getting it to work. This is much simpler than using MacPorts.

+8
source share

Yes, itโ€™s normal to pull addictions, but it should not take too much time. For comparison, installing Meld with Homebrew took me about 15 minutes.

For reference, my installation of Meld on OS X Mavericks:

  • Install Xcode from the app store
  • Install XQuartz from the package (Meld will complain if you donโ€™t have one)
  • Command line: 'brew install meld'

If you are prompted to install the Xcode command line tools at some point, do it.

Hope this helps.

+6
source share

Current command with updated formula for installing meld with homebrew:

 brew install caskroom/cask/meld 
+5
source share

Unfortunately, this is very normal with MacPorts, and this is the reason that many people have switched to homebrew http://github.com/mxcl/homebrew

However, I found this post because homebrew does not include Meld. Sigh.

+2
source share

Consider downloading the macOS meld version https://github.com/yousseb/meld/releases/

0
source share

use the updated brew link: brew install caskroom / cask / meld

0
source share

All Articles