Search code examples
macosbashshellhomebrewxmgrace

How to fix error and install xmgrace smoothly?


I tried to install xmgrace via brew with the command brew install grace, but then following error occurs:

Error: No available formula for grace 
Searching formulae...
Searching taps...
homebrew/x11/grace

I operate in the bash shell on a Mac OSX Yosemite (V10.10.2).

How can I fix the error?


Solution

  • First: Install Xcode (search the Apple app store and install from there, then at the command prompt type: xcode-select --install) Second: install open motif (at the terminal prompt, type: sudo port install openmotif) Third: Install xmgrace (at the terminal prompt, type: sudo port install grace) Fourth: Enjoy :)