How to install gnuplot 5.4 at ubuntu20.04
I'm using Ubuntu 20.04, I work with Gnuplot 5.2.8, but only some features are at the version most recent.
My question-specific question is. How to upgrade Gnuplot 5.4.0 at ubuntu 20.04?.
Thanks community
Solution 1:
For gnuplot 5.4.1 with qt terminal:
sudo apt install qtbase5-dev qtbase5-dev-tools libqt5svg5-dev qttools5-dev-tools
cd ~
wget https://jaist.dl.sourceforge.net/project/gnuplot/gnuplot/5.4.1/gnuplot-5.4.1.tar.gz
tar -xvzf gnuplot-5.4.1.tar.gz
cd gnuplot-5.4.1
./configure --with-qt=qt5
make -j # uses more jobs for faster compiling and linking
make check # make a test before installing
sudo make install # a better method would be to use checkinstall -> creates a deb
cd ~
rm -rf gnuplot-5.4.1*