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
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
Binary versions of Gnuplot for macOS.

<!--
<div style="background-color: red; border-style: solid;">
<b>
Download links temporarily down due to power outage. Will be accessible again March 5, 2025. Apologies for this inconvenience.
</b>
</div>

<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 11: 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: Coming soon! Meanwhile please download Gnuplot 5.4.1 below. Note that this also requires the installation of XQuartz.
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 />


<h2>Alternative versions with AquaTerm included</h2>
<b>[mailto:erik.luijten@gmail.com Please report any problems.]</b>
Choose this version if you prefer to use the AquaTerm terminal.


<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-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.
</b>
</div>


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

<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-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.
</b>
</div>

<br />
<br />

<h2>Frequently asked questions</h2>

<ol>

<li><b>When installing, I receive a malware warning.</b><br>

Please see these detailed [https://pergamon.ms.northwestern.edu/Download/Gnuplot/malware_warning.pdf instructions].
</li>

<li><b>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."</b><br>

Create a file ".gnuplot" in your home folder and add the line
<pre>
set term qt font "Arial"
</pre>
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><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
<!--[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><b>I receive an error message "dyld: Library not loaded: /opt/X11/lib/libfontconfig.1.dylib"</b><br>

You are using a version of Gnuplot relying on the X terminal. Please make sure you have installed the most recent version of [http://xquartz.macosforge.org/landing/ X11/XQuartz].
</li>

<li><b>When using "set terminal png", I receive an error message that the Arial font is missing.</b><br>

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:
<pre>
export GDFONTPATH=/Library/Fonts:/Library/Fonts/Microsoft:/System/Library/Fonts:/System/Library/Fonts/Supplemental
</pre>
</li>

<li><b>I encounter a problem not addressed here.</b><br>

Please contact [mailto:erik.luijten@gmail.com Erik Luijten].
</li>

</ol>

<br />
<br />

<h2>Technical details (no need to read unless you are curious)</h2>


<ul>
<ul>


<li>The version for ARM processors was compiled on 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>The version for ARM processors was compiled on an ARM-based Mac running macOS Sequoia 15.2 but was also confirmed to work on ARM-based Macs running older macOS versions, including Big Sur (11.2.3) and Sonoma (14.2.1).</li>


<li>The version for Intel processors was compiled on an Intel-based Mac running macOS Catalina 10.15.7 but was also confirmed to work on Intel-based Macs running newer macOS versions, including Big Sur (11.7.8), Monterey, Ventura, and Sequioa (15.1.1, 15.2).</li>
<li>Older versions below all require the X11 library and hence are not recommended. Gnuplot versions 5.4.1 and 5.4.0 were compiled on OS X 10.15.6 (Catalina) and Gnuplot 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>All versions provided here include the GNU Readline library.</li>
<li>All versions provided here include the GNU Readline library.</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 35: 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 20, 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-x84_64.pkg 6.0.2 for Intel processors] (January 21, 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>[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>[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>[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>
<li>Older versions:</li>

<br />
<br />

<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 51: 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. 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.</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>
<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.1.pkg 5.4.1] (December 15, 2020)</li>
Line 63: Line 179:
<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>
<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>

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