Binary versions of Gnuplot for macOS: Difference between revisions

From csml-wiki.northwestern.edu
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
Binary versions of Gnuplot for OS X/macOS. These are primarily intended for users who normally work on Linux and wish to replicate their tools on a Macintosh.
Binary versions of Gnuplot for macOS (includes png, JPEG, pdf, wxt, and many other terminals).


<div style="background-color: cyan; border-style: solid;">
<div style="background-color: cyan; border-style: solid;">
<b>
<b>
One-step installation for ARM-based Macs: Download [https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-arm64.pkg Gnuplot 6.0.2] and install. No additional libraries required.
Quick two-step summary:
</b>
</div>


<ul>
<br />

<li>Install [https://xquartz.macosforge.org/landing/ X11/XQuartz].</li>
<div style="background-color: cyan; border-style: solid;">
<li>Install [https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.4.1.pkg Gnuplot]</li>
</ul>
<b>
One-step installation for Intel-based Macs: Download [https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-x86_64.pkg Gnuplot 6.0.2] and install. No additional libraries required.
</b>
</div>
<br />

Binary versions of Gnuplot for macOS <b>with AquaTerm included</b>.

<div style="background-color: orange; border-style: solid;">
<b>
Installation for ARM-based Macs: Download [https://pergamon.ms.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-arm64.pkg AquaTerm 1.1.1 for ARM] and install.
Download [https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-aquaterm-arm64.pkg Gnuplot 6.0.2 with AquaTerm] and install. No additional libraries required.
</b>
</b>
</div>
</div>
Line 15: Line 28:


<div style="background-color: orange; border-style: solid;">
<div style="background-color: orange; border-style: solid;">
<b>
Installation for Intel-based Macs: Download [https://pergamon.ms.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-x86_64.pkg AquaTerm 1.1.1 for Intel] and install.
Download [https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-aquaterm-x86_64.pkg Gnuplot 6.0.2 with AquaTerm] and install. No additional libraries required.
</b>
</div>
<br />


<div style="background-color: pink; border-style: solid;">
<b>
<b>
See [https://pergamon.ms.northwestern.edu/Download/Gnuplot/malware_warning.pdf here] if you receive a malware warning.
Note for users of the "png" terminal: On some versions of OS X, such as Catalina, the "Arial" font has been moved and you will receive an error message when you do "set terminal png". To fix this, issue the following command before starting gnuplot:
</b>
</b>
</div>


<tt>
<br />
<b>[mailto:erik.luijten@gmail.com Please report any problems.]</b>
export GDFONTPATH=/Library/Fonts:/Library/Fonts/Microsoft:/System/Library/Fonts:/System/Library/Fonts/Supplemental
</tt>


</div>


<b>Details</b> (no need to read unless you experience issues and/or are curious):
Details:


<ul>
<ul>


<li>The version for ARM processors was compiled on an ARM-based Mac running macOS 15.2 (Sequoia) but was confirmed to work on older macOS versions as well, including macOS 14.2.1 (Sonoma) and macOS 11.2.3 (Big Sur).</li>
<li>Compiled on OS X 10.15.6 (Catalina).<br>
Versions up to 5.2.8 were compiled on OS X 10.11.6 (El Capitan) and were confirmed to work also on macOS 10.13 (High Sierra), 10.14 (Mojave), and 10.15 (Catalina).</li>


<li>The version for Intel processors was compiled on an Intel-based Mac running macOS 10.15.7 (Catalina) but was confirmed to work on newer macOS versions as well, including macOS 11.7.8 (Big Sur).</li>
<li><b>Prior to installing this, you need to install [http://xquartz.macosforge.org/landing/ X11/XQuartz].</b></li>


<li>The versions provided here include the GNU Readline library.</li>
<li>All versions provided here include the GNU Readline library.</li>


<!--
<li>In addition to the standard terminals, the PDF terminal is included as well, which uses the [http://www.pdflib.com/download/free-software/pdflib-lite-7 PDFLlib Lite] library. To my understanding, this link to the source code satisfies the [http://www.pdflib.com/fileadmin/pdflib/pdf/license/PDFlib-Lite-license.pdf PDFlib Lite license requirements]. Note: you do <b>NOT</b> need to download this library to use the gnuplot packages below.</li>
<li>In addition to the standard terminals, the PDF terminal is included as well, which uses the [http://www.pdflib.com/download/free-software/pdflib-lite-7 PDFLlib Lite] library. To my understanding, this link to the source code satisfies the [http://www.pdflib.com/fileadmin/pdflib/pdf/license/PDFlib-Lite-license.pdf PDFlib Lite license requirements]. Note: you do <b>NOT</b> need to download this library to use the gnuplot packages below.</li>

<li>In version 5.2.5 and up, I have also included the GIF, JPEG and PNG terminals. All libraries needed are included; please [mailto:erik.luijten@gmail.com let me know] if you encounter difficulties.</li>


<li>Simply download the package from one of the links below and install. You can then invoke gnuplot from a terminal window via <tt>/usr/local/bin/gnuplot</tt></li>
<li>Simply download the package from one of the links below and install. You can then invoke gnuplot from a terminal window via <tt>/usr/local/bin/gnuplot</tt></li>
-->

<li>[mailto:erik.luijten@gmail.com Please report download problems.]</li>


<li><b>Current version (recommended):</b>
<li><b>Current version (recommended):</b>
<!--<div style="background-color: orange; border-style: solid;">
<!--<div style="background-color: orange; border-style: solid;">
<b>Note: In the most recent versions of Chrome, you must right-click and choose "Save Link As..."</b>
<b>Note: In some versions of Chrome, you must right-click and choose "Save Link As..."</b>
</div>-->
</div>-->
<ul>
<ul>
<li><b>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.4.1.pkg 5.4.1] (December 15, 2020)</b></li>
<li><b>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-arm64.pkg 6.0.2 for ARM processors] (January 26, 2025)</b></li>
<li><b>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-x86_64.pkg 6.0.2 for Intel processors] (January 27, 2025)</b></li>
<li><b>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-aquaterm-arm64.pkg 6.0.2 with AquaTerm for ARM processors] (January 27, 2025)</b>
<li><b>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-aquaterm-x86_64.pkg 6.0.2 with AquaTerm for Intel processors] (January 27, 2025)</b></li>
</li>
</ul>
</ul>
</li>
</li>


<li>Older versions:</li>
<li>Older versions (versions prior to 5.2.5 do not include the PNG, JPEG and GIF terminals)
</li>
<ul>
<ul>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.4.0.pkg 5.4.0] (September 23, 2020)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.4.10-arm64.pkg 5.4.10 for ARM processors] (January 20, 2025)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.8.pkg 5.2.8] (December 2, 2019)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.4.10-x86_64.pkg 5.4.10 for Intel processors] (January 21, 2025)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.7.pkg 5.2.7] (May 31, 2019)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.6.pkg 5.2.6] (January 1, 2019)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.5.pkg 5.2.5] (October 7, 2018)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.4.pkg 5.2.4]</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.3.pkg 5.2.3]</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.2.pkg 5.2.2]</li>
</ul>
</ul>


<li>Older versions that require XQuartz and hence are not recommended: Please note that you MUST install [http://xquartz.macosforge.org/landing/ X11/XQuartz] to use these versions.</b> Do not forget to reboot your computer after the installation, or the X11 terminal within Gnuplot will not work. Moreover, these versions do not feature the cairo/wxt terminals. Versions 5.4.1 and 5.4.0 were compiled on OS X 10.15.6 (Catalina) and the versions up to 5.2.8 were compiled on OS X 10.11.6 (El Capitan). All these versions were confirmed to work also on macOS 10.13 (High Sierra), 10.14 (Mojave), and 10.15 (Catalina).</li>
<li>Information for the technically inclined: to facilitate installation and improve portability, the gnuplot binary was statically linked to the readline, gd, png16, freetype, fontconfig, and PDFlib-lite libraries.</li>

<ul>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.4.1.pkg 5.4.1] (December 15, 2020)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.4.0.pkg 5.4.0] (September 23, 2020)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.8.pkg 5.2.8] (December 2, 2019)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.7.pkg 5.2.7] (May 31, 2019)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.6.pkg 5.2.6] (January 1, 2019)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.5.pkg 5.2.5] (October 7, 2018)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.4.pkg 5.2.4] (does not include PNG, JPEG, and GIF terminals)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.3.pkg 5.2.3] (does not include PNG, JPEG, and GIF terminals)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-5.2.2.pkg 5.2.2] (does not include PNG, JPEG, and GIF terminals)</li>
</ul>

</ul>

<b>Trouble-shooting</b>
<ul>


<li>If you receive an error message "dyld: Library not loaded: /opt/X11/lib/libfontconfig.1.dylib", please make sure you have installed the most recent version of [http://xquartz.macosforge.org/landing/ X11/XQuartz].</li>
<li>If you receive an error message "dyld: Library not loaded: /opt/X11/lib/libfontconfig.1.dylib", please make sure you have installed the most recent version of [http://xquartz.macosforge.org/landing/ X11/XQuartz].</li>

<li>Note for users of the "png" terminal: On some versions of OS X, such as Catalina, the "Arial" font has been moved and you will receive an error message when you do "set terminal png". To fix this, issue the following command before starting gnuplot:

<tt>
export GDFONTPATH=/Library/Fonts:/Library/Fonts/Microsoft:/System/Library/Fonts:/System/Library/Fonts/Supplemental
</tt>
</li>


</ul>
</ul>

Latest revision as of 08:55, 28 January 2025

Binary versions of Gnuplot for macOS (includes png, JPEG, pdf, wxt, and many other terminals).

One-step installation for ARM-based Macs: Download Gnuplot 6.0.2 and install. No additional libraries required.


One-step installation for Intel-based Macs: Download Gnuplot 6.0.2 and install. No additional libraries required.


Binary versions of Gnuplot for macOS with AquaTerm included.

Installation for ARM-based Macs: Download AquaTerm 1.1.1 for ARM and install. Download Gnuplot 6.0.2 with AquaTerm and install. No additional libraries required.


Installation for Intel-based Macs: Download AquaTerm 1.1.1 for Intel and install. Download Gnuplot 6.0.2 with AquaTerm and install. No additional libraries required.


See here if you receive a malware warning.


Please report any problems.


Details (no need to read unless you experience issues and/or are curious):

  • The version for ARM processors was compiled on an ARM-based Mac running macOS 15.2 (Sequoia) but was confirmed to work on older macOS versions as well, including macOS 14.2.1 (Sonoma) and macOS 11.2.3 (Big Sur).
  • The version for Intel processors was compiled on an Intel-based Mac running macOS 10.15.7 (Catalina) but was confirmed to work on newer macOS versions as well, including macOS 11.7.8 (Big Sur).
  • All versions provided here include the GNU Readline library.
  • Current version (recommended):
  • Older versions:
  • Older versions that require XQuartz and hence are not recommended: Please note that you MUST install X11/XQuartz to use these versions. Do not forget to reboot your computer after the installation, or the X11 terminal within Gnuplot will not work. Moreover, these versions do not feature the cairo/wxt terminals. Versions 5.4.1 and 5.4.0 were compiled on OS X 10.15.6 (Catalina) and the versions up to 5.2.8 were compiled on OS X 10.11.6 (El Capitan). All these versions were confirmed to work also on macOS 10.13 (High Sierra), 10.14 (Mojave), and 10.15 (Catalina).
    • 5.4.1 (December 15, 2020)
    • 5.4.0 (September 23, 2020)
    • 5.2.8 (December 2, 2019)
    • 5.2.7 (May 31, 2019)
    • 5.2.6 (January 1, 2019)
    • 5.2.5 (October 7, 2018)
    • 5.2.4 (does not include PNG, JPEG, and GIF terminals)
    • 5.2.3 (does not include PNG, JPEG, and GIF terminals)
    • 5.2.2 (does not include PNG, JPEG, and GIF terminals)

Trouble-shooting

  • If you receive an error message "dyld: Library not loaded: /opt/X11/lib/libfontconfig.1.dylib", please make sure you have installed the most recent version of X11/XQuartz.
  • Note for users of the "png" terminal: On some versions of OS X, such as Catalina, the "Arial" font has been moved and you will receive an error message when you do "set terminal png". To fix this, issue the following command before starting gnuplot: export GDFONTPATH=/Library/Fonts:/Library/Fonts/Microsoft:/System/Library/Fonts:/System/Library/Fonts/Supplemental