From: Eliezer R. <eli...@gm...> - 2021-03-25 01:37:55
|
I am trying to install gnuplot-5.4.1 in Linux OS using Ubuntu 64 bit 16.04.3 I want to use gnuplot to plot the bandstructure of Pd using the ABINIT code. I have tried to install gnuplot-5.4.1 without success. I have read the faq "How do I compile gnuplot on my system" and the INSTALL file in the gnuplot-5.4.1 folder. I downloaded gnuplot-5.4.1.tar.gz and unzipped the file into $HOME/gnuplot/gunuplot-5.4.1. I then entered the commands ./configure make sudo apt install gnuplot make check make install The 'sudo' command ran returning Reading package lists... Done Building dependency tree Reading state information... Done gnuplot is already the newest version (4.6.6-3ubuntu0.1). The following packages were automatically installed and are no longer required: libdumbnet1 libgtkmm-2.4-1v5 libllvm5.0 libmspack0 libxmlsec1 libxmlsec1-openssl snapd-login-service The make install command ran and returned at the end /bin/mkdir -p '/usr/local/share/gnuplot/5.4/js' /bin/mkdir: cannot create directory '/usr/local/share/gnuplot': Permission denied Makefile:374: recipe for target 'install-jsDATA' failed make[2]: *** [install-jsDATA] Error 1 make[2]: Leaving directory '/home/eliezer/gnuplot/gnuplot-5.4.1/term' Makefile:489: recipe for target 'install-am' failed make[1]: *** [install-am] Error 2 make[1]: Leaving directory '/home/eliezer/gnuplot/gnuplot-5.4.1/term' Makefile:426: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1 The 'make check' command ran returning for most of it 'WARNING: plotting with an 'unknown' terminal. No output will be generated. Please select a terminal with 'set terminal'. ' At the end of the output the command returned /bin/mkdir -p '/usr/local/share/gnuplot/5.4/js' /bin/mkdir: cannot create directory '/usr/local/share/gnuplot': Permission denied Makefile:374: recipe for target 'install-jsDATA' failed make[2]: *** [install-jsDATA] Error 1 make[2]: Leaving directory '/home/eliezer/gnuplot/gnuplot-5.4.1/term' Makefile:489: recipe for target 'install-am' failed make[1]: *** [install-am] Error 2 make[1]: Leaving directory '/home/eliezer/gnuplot/gnuplot-5.4.1/term' Makefile:426: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1 About 5 years ago, I installed gnuplot-5.0.3, and every time I give the command 'gnuplot', gnuplot-5.0.3 opens. I listened to 2 youtube tutorials given with gnuplot-5.5 and terminal 'wxt'. Gnuplot-5.0.3 does not have this terminal. Does gnuplot-5.4.1? I hope you can resolve my problem. Eliezer Richmond |