That may be, but this user is running OS X, and I am not aware of a single OS X 
installer package (i.e. a .pkg file) that installs a binary to that location. 
Are you?

I have very occasionally seen applications installed to ~/Applications (instead 
of the system-wide /Applications), but OS X applications are different from 
traditional UNIX software in that applications are supposed to be relocatable 
and largely self-contained (the application either only uses system frameworks, 
or includes copies of any needed third-party frameworks or libraries and the 
developer has modified those frameworks or libraries to be relocatable, using 
the install_name_tool program), whereas traditional UNIX software is not 
usually built that way, and instead needs to know at build time what the final 
install path of any libraries will be. (Final install paths are baked into the 
type of dynamic library that OS X uses).

For node this happens not to be important because it only provides a node 
executable and support files; it does not provide any libraries of its own and 
does not include any third-party libraries; it only uses libraries and 
frameworks included in OS X. However node seems to hardcode the install prefix 
into itself for other reasons, so it appears not to be relocatable on any 
platform, and must remain in the location where it was configured at build time 
to be.


On Jan 31, 2014, at 20:02, Louis Santillan <[email protected]> wrote:

> ~/usr/* is not unusual in *nix environments where / is intended to
> remain fixed (like on the iPhone), or where /home is large (like a
> RAID/NFS mount), or the user wishes to install a user specific package
> (where /usr is intended for system-wide packages and /opt is intended
> for system specific packages).  CRUX Linux does a similar thing
> (temporarily) when building packages[1].  Xcode uses a similar
> technique to allow it to support several different platforms (iOS 6/7,
> OSX 10.7/8/9) on one machine.
> 
> [1] http://crux.nu/Main/Handbook3-0#ntoc21
> 
> -L
> 
> On Fri, Jan 31, 2014 at 5:37 PM, Ryan Schmidt wrote:
>> 
>> As it says on the first screen when you run the node installer:
>> 
>> "This package will install node and npm into /usr/local/bin"
>> 
>> Not ~/usr/local/bin. I've never heard of any installer installing to 
>> ~/usr/anything; that would be a weird location for an installer to install 
>> to.

-- 
-- 
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