User Tools

Site Tools


gnuplot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gnuplot [2024/05/08 10:17] – [GnuPlot 6.0] dblumegnuplot [2025/04/12 15:10] (current) – [Instructions for macOS] dblume
Line 27: Line 27:
   # sudo apt-get install pkg-config (Maybe this was only for QT?)   # sudo apt-get install pkg-config (Maybe this was only for QT?)
  
 +It may say "libgd-based png jpeg gif sixel: no (requires libgd,  see config.log)", but svg will work. If you get the failure, try:
  
 +  sudo apt-get update  # Need to avoid 404s from package repos
 +  sudo apt install libgd-dev
 ===== Instructions for macOS ===== ===== Instructions for macOS =====
  
 Inspired from this [[https://stackoverflow.com/questions/54296621/brew-install-gnuplot-with-qt-with-x11-not-working|StackOverflow answer]]. I gave up on getting QT working. Inspired from this [[https://stackoverflow.com/questions/54296621/brew-install-gnuplot-with-qt-with-x11-not-working|StackOverflow answer]]. I gave up on getting QT working.
  
-  brew install readline +  brew install readline pkg-config automake
-  brew install pkg-config+
   # ... Get the sources per instructions above ...   # ... Get the sources per instructions above ...
   ./prepare   ./prepare
Line 39: Line 41:
   make   make
   sudo make install   sudo make install
 +  # May install into /opt/homebrew/opt/gnuplot/bin/gnuplot, If so maybe ln -s to it.
 +  ln -s $HOMEBREW_PREFIX/opt/gnuplot/bin/gnuplot $HOMEBREW_PREFIX/bin/gnuplot
gnuplot.1715188630.txt.gz · Last modified: 2024/05/08 10:17 by dblume