Binary versions of Gnuplot for macOS: Difference between revisions

From csml-wiki.northwestern.edu
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__

<h2>Recommended versions (just download and install)</h2>
Binary versions of Gnuplot for macOS (includes png, JPEG, pdf, wxt, and many other terminals).


<!--
<!--
Line 12: Line 10:
<br />
<br />
-->
-->

<h2>Recommended versions (just download and install)</h2>
Binary versions of Gnuplot for macOS (includes Qt, wxt, png, JPEG, pdf, 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.
One-step installation for ARM-based Macs: Download
<!--[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-qt5-arm64.pkg Gnuplot 6.0.2]-->
[https://csml.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-qt5-arm64.pkg Gnuplot 6.0.2]
and install. No additional libraries required.
</b>
</b>
</div>
</div>
Line 23: Line 27:
<div style="background-color: cyan; border-style: solid;">
<div style="background-color: cyan; border-style: solid;">
<b>
<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.
One-step installation for Intel-based Macs: Download
<!--[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-qt5-x86_64.pkg Gnuplot 6.0.2] and install. No additional libraries required.-->
[https://csml.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-qt5-x86_64.pkg Gnuplot 6.0.2]
and install. No additional libraries required.
</b>
</b>
</div>
</div>
<br />
<br />


Binary versions of Gnuplot for macOS <b>with AquaTerm included</b>.
<h2>Alternative versions with AquaTerm included</h2>
Choose this version if you prefer to use the AquaTerm terminal.


<div style="background-color: orange; border-style: solid;">
<div style="background-color: orange; border-style: solid;">
<b>
<b>
Installation for ARM-based Macs: Download [https://pergamon.ms.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-git-universal.pkg AquaTerm] and install.
Installation for ARM-based Macs: Download
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.<br>
<!--[https://pergamon.ms.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-git-universal.pkg AquaTerm]-->
[https://csml.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-git-universal.pkg AquaTerm]
and install.
Download [https://csml.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-aquaterm-arm64.pkg Gnuplot 6.0.2 with AquaTerm] and install. No additional libraries required.<br>
Note: This version of AquaTerm contains several fixes not available in the official 1.1.1 release.
Note: This version of AquaTerm contains several fixes not available in the official 1.1.1 release.
</b>
</b>
Line 42: Line 53:
<div style="background-color: orange; border-style: solid;">
<div style="background-color: orange; border-style: solid;">
<b>
<b>
Installation for Intel-based Macs: Download [https://pergamon.ms.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-git-universal.pkg AquaTerm] and install.
Installation for Intel-based Macs: Download
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.<br>
<!--[https://pergamon.ms.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-git-universal.pkg AquaTerm]-->
[https://csml.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-git-universal.pkg AquaTerm]
and install.
Download [https://csml.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-aquaterm-x86_64.pkg Gnuplot 6.0.2 with AquaTerm] and install. No additional libraries required.<br>
Note: This version of AquaTerm contains several fixes not available in the official 1.1.1 release.
Note: This version of AquaTerm contains several fixes not available in the official 1.1.1 release.
</b>
</b>
Line 67: Line 81:
</pre>
</pre>
Then restart gnuplot.
Then restart gnuplot.
</li>

<li><b>Gnuplot prints a message that looks like: "2025-03-21 10:17:36.451 gnuplot_qt[19585:6148833] +[IMKClient subclass]: chose IMKClient_Modern"</b><br>

This is a log message of the operating system that has been reported for numerous other packages. It can only be fixed by Apple, hopefully in a future version of macOS.
</li>
</li>


<li><b>I receive an error message "dyld: Library not loaded: /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm"</b><br>
<li><b>I receive an error message "dyld: Library not loaded: /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm"</b><br>


You are using a version of Gnuplot compiled with AquaTerm support; please make sure you have installed the AquaTerm package as well (see orange box near top of this page).
You are using a version of Gnuplot compiled with AquaTerm support; please make sure you have installed the
<!--[https://pergamon.ms.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-git-universal.pkg AquaTerm]-->
[https://csml.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-git-universal.pkg AquaTerm]
package as well (see orange box near top of this page).
</li>
</li>


Line 97: Line 119:
<br />
<br />


<h2>Details (no need to read unless you experience issues and/or are curious)</h2>
<h2>Technical details (no need to read unless you are curious)</h2>


<ul>
<ul>
Line 107: Line 129:
<li>All versions provided here include the GNU Readline library.</li>
<li>All versions provided here include the GNU Readline library.</li>


<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-git-universal.pkg AquaTerm] is a universal (Intel + ARM) binary that works on macOS 10.15.7 and newer. Even though it will appear as version 1.1.1, it was compiled from the git repository and contains several important patches compared to the official release.<li>
<li>[https://csml.northwestern.edu/Download/Gnuplot/aquaterm-1.1.1-git-universal.pkg AquaTerm] is a universal (Intel + ARM) binary that works on macOS 10.15.7 and newer. Even though it will appear as version 1.1.1, it was compiled from the git repository and contains several important patches compared to the official release.<li>


<!--
<!--
Line 115: Line 137:
-->
-->


<li>Full list of current versions
<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 some 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-6.0.2-arm64.pkg 6.0.2 for ARM processors] (January 26, 2025)</b></li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-qt5-arm64.pkg 6.0.2 with Qt and wxt terminals for ARM processors] (March 21, 2025)</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>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-qt5-x86_64.pkg 6.0.2 with Qt and wxt terminals for Intel processors] (March 21, 2025)</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>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-arm64.pkg 6.0.2 with wxt terminal for ARM processors] (January 26, 2025)</li>
<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>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-x86_64.pkg 6.0.2 with wxt terminal for Intel processors] (January 27, 2025)</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-aquaterm-arm64.pkg 6.0.2 with wxt and AquaTerm for ARM processors] (January 27, 2025)</li>
</li>
<li>[https://pergamon.ms.northwestern.edu/Download/Gnuplot/gnuplot-6.0.2-aquaterm-x86_64.pkg 6.0.2 with wxt and AquaTerm for Intel processors] (January 27, 2025</li>
</ul>
</ul>
</li>
</li>

</ul>


<br />
<br />
<br />
<br />


<h2>Older versions:</h2>
<h2>Older versions</h2>


<h4>Versions that do not require XQuartz</h4>
<ul>
<ul>
<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.4.10-arm64.pkg 5.4.10 for ARM processors] (January 20, 2025)</li>
Line 138: Line 164:
</ul>
</ul>


<h4>Older versions that require XQuartz (not recommended, unless you prefer XQuartz or are running a very old OS)</h4>
<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>

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).


<ul>
<ul>

Latest revision as of 18:13, 28 March 2025


Recommended versions (just download and install)

Binary versions of Gnuplot for macOS (includes Qt, wxt, png, JPEG, pdf, 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.


Alternative versions with AquaTerm included

Choose this version if you prefer to use the AquaTerm terminal.

Installation for ARM-based Macs: Download AquaTerm and install. Download Gnuplot 6.0.2 with AquaTerm and install. No additional libraries required.
Note: This version of AquaTerm contains several fixes not available in the official 1.1.1 release.


Installation for Intel-based Macs: Download AquaTerm and install. Download Gnuplot 6.0.2 with AquaTerm and install. No additional libraries required.
Note: This version of AquaTerm contains several fixes not available in the official 1.1.1 release.



Frequently asked questions

  1. When installing, I receive a malware warning.
    Please see these detailed instructions.
  2. Gnuplot prints a warning "qt.qpa.fonts: Populating font family aliases took ... ms. Replace uses of missing font family "Sans" with one that exists to avoid this cost."
    Create a file ".gnuplot" in your home folder and add the line
    set term qt font "Arial"
    

    Then restart gnuplot.

  3. Gnuplot prints a message that looks like: "2025-03-21 10:17:36.451 gnuplot_qt[19585:6148833] +[IMKClient subclass]: chose IMKClient_Modern"
    This is a log message of the operating system that has been reported for numerous other packages. It can only be fixed by Apple, hopefully in a future version of macOS.
  4. I receive an error message "dyld: Library not loaded: /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm"
    You are using a version of Gnuplot compiled with AquaTerm support; please make sure you have installed the AquaTerm package as well (see orange box near top of this page).
  5. I receive an error message "dyld: Library not loaded: /opt/X11/lib/libfontconfig.1.dylib"
    You are using a version of Gnuplot relying on the X terminal. Please make sure you have installed the most recent version of X11/XQuartz.
  6. When using "set terminal png", I receive an error message that the Arial font is missing.
    On some versions of OS X, such as Catalina, the "Arial" font has been moved. To fix this, issue the following command before starting gnuplot:
    export GDFONTPATH=/Library/Fonts:/Library/Fonts/Microsoft:/System/Library/Fonts:/System/Library/Fonts/Supplemental
    
  7. I encounter a problem not addressed here.
    Please contact Erik Luijten.



Technical details (no need to read unless you are curious)



Older versions

Versions that do not require XQuartz

Older versions that require XQuartz (not recommended, unless you prefer XQuartz or are running a very old OS)

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)