Re: Not able to install gnuplot succesfully

Alan Corey <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <CAOh3dDZdhLSuTMvb=7wNsj2xw+djv9Jg4WjC6qwM9v5ShXGXrw@mail.gmail.com>
Yeah, don't mix building from source with using debs.  Do a dpkg purge
gnuplot, then make uninstall it.  Unless you really need the latest version
apt-get install gnuplot should work.  But the debs can be a year or more
old by the time they trickle through the stages of testing so it's almost
always a different version.

On Wed, Mar 24, 2021, 10:33 PM Ethan Merritt <[email protected]> wrote:

> 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
>
>
>
>
>
> _______________________________________________
> gnuplot-info mailing list
> [email protected]
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>

_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.