Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1298

Re: updating gnuplot

From hrimthurse <hrimthurse@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: updating gnuplot
Date 2012-07-29 23:39 +0200
Organization solani.org
Message-ID <jv4aik$78f$1@solani.org> (permalink)
References <8304c8a7-b732-4fad-a90b-c5ed5aac226c@a17g2000yqn.googlegroups.com> <imss71$g5g$3@dont-email.me> <74b8bbc1-e1bd-48e9-af61-5d4fe88ae19a@googlegroups.com>

Show all headers | View raw


On 07/29/2012 09:21 PM, ysrhcu@gmail.com wrote:
> I got the same error from 'make install'. I work on the linux server and i dont have root password. Is it possible to install on my home directory? Could you please tell me how?
> Many thanks.


Yes that's possible, you can specify the install directory when using 
configure:

./configure --prefix=$HOME --program-suffix=-4.6.0
make
make install

The prefix specifies the path in which gnuplot is installed. With 
"--prefix=$HOME" the executable file will be in $HOME/bin, so you could 
add this to your $PATH. Some distributions do this as default, type 
"echo $PATH" to check this. If $HOME/bin is not in your PATH, add 
"PATH="$HOME/bin":$PATH to your .bashrc.
Note: Some people like to use an extra directory like $HOME/usr to keep 
things clean.

The "program-suffix" is appended to the bin file. If you use "-4.6.0" as 
a suffix, the executable file is named "gnuplot-4.6.0". So you can still 
call the normal gnuplot with the command "gnuplot".

For more information use ./configure --help

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

Re: updating gnuplot ysrhcu@gmail.com - 2012-07-29 12:21 -0700
  Re: updating gnuplot hrimthurse <hrimthurse@gmail.com> - 2012-07-29 23:39 +0200

csiph-web