|
From: Ethan M. <eam...@gm...> - 2021-03-25 02:32:41
|
On Wednesday, 24 March 2021 18:37:37 PDT Eliezer Richmond wrote:
> I am trying to install gnuplot-5.4.1 in Linux OS using Ubuntu 64 bit 16.04.3
>
> 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.
You are mixing up two very different things.
#1 is building and installing gnuplot from source files.
#2 is downloading and installing whatever gnuplot
package your distribution provides.
Pick one or the other.
>
>
> I then entered the commands
>
> ./configure
> make
Good so far. Assuming that you were happy with the
output it shows about what optional components are
being built, you should now have a runnable gnuplot
sitting in the directory where you built it.
> sudo apt install gnuplot
But now you go completely wrong.
"apt install" ignores the thing you just built.
It goes out and looks for a package named "gnuplot" on
some Ubuntu web site somewhere. Then installs it.
Not the one you built.
> make check
That is checking the copy you built at step 1.
> make install
That is trying to insall the copy you just checked,
but it will probably fail because you don't have the
right permissions. Probably you need
sudo 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).
Now you are back in camp #2. It is reporting on installation
of the Ubuntu package rather than the newer gnuplot you just built.
Don't do this. Do _not_ run "apt".
hope that helps,
Ethan
[snip]
> I hope you can resolve my problem.
>
> Eliezer Richmond
|