Here's a compilation of the various library-dev packages necessary for gnuplot in ubuntu. The package names should be the same under debian, and other distributions based on debian, like Mint. Additional -dev packages that are installed automatically with the ones named are not listed or in (parentheses).
To use external libreadline instead of gnuplot's builtin replacement (recommended)
libreadline-dev
To have the mathematical functions provided by the cerf library (can't hurt)
libcerf-dev
For the old interactive x11
terminal
libx11-dev
For the pdfcairo
, pngcairo
, epscairo
terminals
libcairo2-dev
libpango1-dev
additionally for the interactive wxt
terminal (try ./configure --with-wx-single-threaded
in case of problems (e.g. make check
crashes). If it doesn't compile with complaints about "XInitThreads", try TERMLIBS="-lX11" ./configure
.)
libwxgtk2.8-dev or libwxgtk3.0-dev
libgtk2.0-dev
For the libgd-based png
, gif
, jpeg
bitmap terminals
libgd-dev
(libxpm-dev)
(libjpeg-turbo8-dev)
(libtiff5-dev)
For the interactive qt
terminal (./configure --with-qt=qt5
)
qtbase5-dev
libqt5svg5-dev
qttools5-dev-tools # on Linux Mint (as per comment by Allan below)
alternatively for qt4 (./configure --with-qt=qt4
)
libqt4-dev
For the lua
terminal
liblua5.2-dev (also read ./INSTALL)
For the text-mode caca
terminal (./configure --with-caca
)
libcaca-dev
The list is not final (i don't have a spare system to try out all the dependencies at the moment). Feel free to add, update and correct!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…