View Single Post
Old 21st February 2012
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Quote:
Dunno what script names (ntfs-3g for example) You have in Your PATH ;p
I used to set my PREFIX to /usr/pkg/, I did this after some upgrade (5 to 6 IIRC) where I wanted to recompile all ports but have the original software remain just in case.
After that, the /usr/pkg/ habit kind of stuck for many years (But I've reverted back to the mainstream /usr/local since).

In addition it's also useful if you want to install multiple versions of the same problem alongside eachother...

Or if you're on some Read-only FS, you can mount a USB drive with additional software in /mnt/ and set my PATH to /mnt/bin/ ... I did this with jggimi's liveCD a couple of times.

... And there are probably many more scenarios ...

Assuming /usr/local/ is a bad habit, and will break sooner or later.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote