Thanks for the feedback, I was just not sure if there was anything else I 
should consider. 

I opted for the approach to untar the binary distribution into 
/usr/local/node-v0.8.19-linux-x64, then created a symbolic link to this 
directory to /usr/local/node so that I can easily switch releases.
Then the only thing left to do was to create a script (I called it node.sh) 
in /etc/profile.d to set the PATH and MANPATH env variables to point into 
/usr/local/node.

NODE_HOME=/usr/local/node 
PATH="$PATH:$NODE_HOME/bin" 
if [ -z "$MANPATH" ] 
then 
    MANPATH="$(manpath)" 
fi 
MANPATH="$MANPATH:$NODE_HOME/share/man" 
export PATH MANPATH


Albrecht
On Wednesday, February 6, 2013 2:02:08 PM UTC-8, Ben Noordhuis wrote:
>
> On Wed, Feb 6, 2013 at 10:44 PM,  <[email protected] <javascript:>> wrote: 
> > Hi, 
> > 
> > I just downloaded the binary distribution v0.8.19 for 64bit linux. While 
> I 
> > can untar the file and execute the executable, I am unclear how I should 
> > install onto my computer. I understand that I can untar it into 
> /usr/local 
> > but that might not be the proper location and then non of the man pages 
> > would be found. 
> > What am I missing? Should I don't load the source distribution and try 
> to 
> > make "make install" work? How about for upgrades? Unfortunately 
> linuxmint 
> > only comes with v0.6.x so no help there. 
> > 
> > Albrecht 
>
> /usr/local is a fine location for packages that are installed 
> system-wide but not under control of the system's package management 
> system (like apt or yum). 
>
> The man pages go into /usr/local/share/man/man1. That's normally on 
> the search path but if not, just point your MANPATH to it. 
>
> Updates are easy: simply untar the new version over the old one. 
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to