Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.graphics.apps.gnuplot > #192
| From | James Waldby <not@valid.invalid> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: updating gnuplot |
| Date | 2011-03-29 20:03 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <imtdv3$g5g$5@dont-email.me> (permalink) |
| References | <8304c8a7-b732-4fad-a90b-c5ed5aac226c@a17g2000yqn.googlegroups.com> <imss71$g5g$3@dont-email.me> <c2c3d331-f674-4a21-be01-1b65c06f6267@h38g2000yqn.googlegroups.com> |
On Tue, 29 Mar 2011 11:45:10 -0700, Ze wrote:
> James Waldby wrote:
>> "Permission denied" and "Error" mean the install failed, in this case
>> due to lack of file or directory write permission. You will need to
>> run make install as superuser. For example,
>>
>> sudo make install
>> or
>> su -c 'make install'
>>
>> or login as root, make install, and logout, via
>> su -
>> make install
>> ^D
> Thanks for your reply James.
>
> I typed sudo make install, it asked me for the password, and it seems to
> have installed it in /usr/local/bin. However, if I type the command
> gnuplot, no matter the directory I'm in at that moment, it is the old
> version, 4.2.5, that starts (i.e, the one installed in /opt/local/ bin).
> If I type the command /usr/local/bin/gnuplot, it is the new version that
> starts.
Which one starts depends on the order in shell variable PATH
of directories /usr/local/bin and /opt/local/bin. You could
modify PATH via changes to .bashrc or .kshrc or whatever rc
file your shell uses, but it probably is more straightforward
to remove the old gnuplot. If you remove it, the new gnuplot
will run if /usr/local/bin is in PATH.
> How can I get around this? I only need one gnuplot. If I uninstall the
> older version, will the new version start when I just type gnuplot at
> the prompt? How do I uninstall the older version? And could that have
> any bad consequences in other things, like in the way gnuplot is set to
> work with latex or terminal types (I noticed the old version is set to
> aqua and the new version is set to x11)?
I don't know the answers to latter questions. Does OS 10 (or
whatever) have an Administrative / Add/Remove Software
application you can run? If so, does gnuplot 4.2.5 show up
as a program you can uninstall?
An alternative to removing gnuplot 4.2.5 is renaming it, eg
in /opt/local/bin you could use
sudo mv gnuplot gnuplot425
after which the gnuplot command will run gnuplot 4.4.3 if
/usr/local/bin is in PATH.
--
jiw
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
Re: updating gnuplot Ze <josenoronha@hotmail.com> - 2011-03-29 11:45 -0700
Re: updating gnuplot James Waldby <not@valid.invalid> - 2011-03-29 20:03 +0000
Re: updating gnuplot Ze <josenoronha@hotmail.com> - 2011-03-30 03:09 -0700
Re: updating gnuplot Ingo Thies <ingo.thies@gmx.de> - 2011-03-31 16:55 +0200
csiph-web