Hello Charles,

On 05/15/2010 06:13 PM, BCS wrote:

The same holds for every file in /usr/bin, I wonder what that says
about all the other people who put stuff there. Similar thought hold
for the other bits and places.

/usr/bin is for system installed executables.  It's bad practice to
put other things there.  I could see installing them to /usr/local/bin
, /usr/opt/bin or /home/$USER/bin, but otherwise just leaving them
where they're unzipped is quite reasonable.  (Each of the approaches
has their own particular reason why they're a good idea.  E.g.
/usr/local/bin is easy to share with other users on the system.

#if you are assuming DMD is being installed by an un privileged user

By all means, run it from where it got unziped. In fact if I were admin on the system I'd discourage anyone from running binaries owned by another user. If they want it but can't talk me into installing it for everyone, then build your own. I think there might be security problems with doing it the other way.

#else

Follow the lead of most every other program out there and put things where they belong.

#endif


I'm
not sure why /usr/opt/bin, but some have, historically, preferred it.
/home/$USER/bin allows sharing libraries within a single user.  And
just leaving it where you unzipped it facilitates having multiple
versions of the same program available.)


--
... <IXOYE><



Reply via email to