- #INSTALL XQUARTZ MACPORTS MAC OSX#
- #INSTALL XQUARTZ MACPORTS INSTALL#
- #INSTALL XQUARTZ MACPORTS FULL#
- #INSTALL XQUARTZ MACPORTS DOWNLOAD#
#INSTALL XQUARTZ MACPORTS INSTALL#
This gives you a message saying command line tools have not been installed and will offer to install them for you now proceed and install them. You can do this via the Terminal.app ( Applications → Utilities → Terminal) with the following command (which you may copy and paste): Download command line toolsĭownload command line tools for Xcode.
#INSTALL XQUARTZ MACPORTS DOWNLOAD#
If you have been trying to dodge your way out of Apple’s enormous 2.6GB Xcode app, get ready to face the demon: almost nothing related to coding will work on your Mac without Xcode and its libraries, so head to the App store and download Xcode. Install gnuplot (remove the -with-name for terminals you do not need brew install gnuplot -with-aquaterm -with-qt4 -with-x11 Install aqua if you want AquaTerm brew install Caskroom/cask/aquaterm Install xquartz if you want X11 brew cask install xquartz Install homebrew via the Terminal with /usr/bin/ruby -e "$(curl -fsSL )" If all you are interested in doing is to install gnuplot save yourself the trouble of scrolling down and follow these instructions (tested on macOS High Sierra) to install both AquaTerm and X11, omitting commands as necessary if you only wish to use one and not the other. In view of public demand, below is a small update. This article has turned out to be more popular than I hoped, with several universities and academic institutions sending lots of traffic towards it, all the way from these interesting lecture notes from Stony Brook University, NY, to this Chinese (I think) forum. A couple of my views have also changed as a result of this: I think AquaTerm is good enough for gnuplot and the decision to use X11 should only be a matter of specific needs or taste. Update, 9 August 2017 Since this article was written about two years ago a new version of gnuplot has been released, as have two new versions of macOS. Specifically, the above two steps replace steps 7 and 8 in the main article below. sudo port install gnuplot +qt5 + x11 +aquaterm +wxwidgets will install gnuplot with QT5, x11, AquaTerm and WXT.Ĭlick here to skip older updates and go to the main (legacy) article which runs you through XCode, GCC etc. Install gnuplot with required terminals e.g.Check what terminals are available (optional) with sudo port variant gnuplot.Install MacPorts by picking a suitable package on their installation page.
#INSTALL XQUARTZ MACPORTS FULL#
Thankfully MacPorts still supports a robust full gnuplot installation which makes me change my recommendation from ‘always install Homebrew’ to ‘always install both Homebrew and MacPorts’. This makes this a little inconvenient, not to mention useless. Update, 6 December 2019 Since this article was written about five years ago Homebrew has changed its gnuplot installation system and does not allow picking terminals. At a time when installing games take a two clicks, it simply is not straightforward to install gnuplot.Īfter scratching my head over it for two days straight, I finally installed gcc, gnuplot, Octave and LaTeX on my new Mac (OS X 10.10.3, Yosemite) and decided to note some points/instructions down here for anyone else looking for a simple solution from start to finish contained in one place. However, it turns out that installing gnuplot (or Octave, for that matter - but let us leave that for another day) on a Mac is a pain in the neck. I would appreciate any help and follow-up warnings for the next stepsinstallation steps.Hardly anyone has gone through a college mathematics or physics course without meeting the wonderful gnuplot. How am I meant to proceed (Which flags, if any, are usually chosen?) port install libsdl2 (That is another problem: much of the information I discover applies to outdated operating systems.)Īpparently SDL wasn't thread-safe at one point unless you used X11, but this was mentioned when SDL verson 1 was the main version:
#INSTALL XQUARTZ MACPORTS MAC OSX#
Then again, there were some issues with X11 being enabled by default back when Mac OSX 10.1 was new: I wouldn't want to install SDL only to find that something is broken or missing. Universal: Build for multiple architecturesīut despite having looked through pages at the above links and having searched for documentation for "SDL with X11", I can't seem to find information about whether I need X11 (and/or universal AKA powerpc) support. I am in the process of installing SDL 2 on Mac OSX 10.9 via macports, and for reference I have been following the official documentation as well as any sdl-specific information I can find.