/usr/local question

Phil Dobbin phildobbin at gmail.com
Wed Apr 4 11:44:23 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/04/2012 19:40, Phil Dobbin wrote:
> On 04/04/2012 18:30, Saiwing Yeung wrote:
>> On Apr 4, 2012, at 9:19 AM, Ryan Schmidt wrote:
>>> On Apr 4, 2012, at 11:16, Saiwing Yeung wrote:
>>> 
>>>> oh... I didn't know that. I just took a look in my
>>>> /usr/local, and found a whole bunch of stuff for texlive, and
>>>> then various programs that I remember installing.
>>>> 
>>>> is there a recommended place for me to put these programs?
>>> 
>>> Any other place on the hard drive that doesn't already have a
>>> defined meaning. So any prefix other than /, /usr, /usr/local,
>>> /opt/local or /sw should be fine.
> 
>> Thanks!
> 
>> In addition, I agree with Jan Stary that it would be nice to
>> amend the #defaultprefix: section in the FAQ. If possible, it
>> would also be nice to also add this to the "A port fails to
>> build. What should I do?" section in the FAQ, as the section
>> title of #defaultprefix is "Why is /opt/local the default install
>> location for MacPorts?" and if a port fails to build for me, I
>> probably wouldn't realize that pertinent information is in that
>> section.
> 
> If you want to install in directories other than /usr/local to
> avoid any conflicts with Mac Ports, you could use the other *nix
> location $HOME/bin.
> 
> On most, if not all, Linux distros that PATH is already present in 
> ~/.bashrc.
> 
> You'd probably have to create the directory in /Users/yourname as
> well as add the above line to your bash_profile but I use $HOME/bin
> a lot on OS X & Linux. It also has the added advantage of not
> having to use sudo when installing stuff.

the above (non-existent) line of course being:

`PATH=$PATH:$HOME/bin`

:-)

- -- 
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

	Wm. Shakespeare - Much Ado About Nothing
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPfJaEAAoJEKpMeDHWT5ADxUcIAJXB53+Kh0Pqweu2TJcwdJYS
Yko/t3Bg2cnfT7QZQ0+ZzVulmU5UUsQ7TkgU4b4alVzTDwzyePsU/bGe+DTGLAjZ
jH40FgQz8Bf1odJE7akSzPc3QGpF+BfpU0OOVC+nZ5JKb10nt+GG8KDU3EEZVhEH
KH0Pq6u03VeKv1cLFaUQa3Do8cjas9tbRcZEMirykKV7i5r5Vu8uj6bqraA/yHyD
dWKoE7yHROLRtkwfdur6kiqA2+V2UZCkwGcuxCOnGPJ6ERc1dSrhlr2AKTGmx9LZ
u6NBSYN1FDjVTwCjBASfplzc4F0f2ZASPJMcVbyOEe0Rdb7aAZvoYGPloDwki8U=
=Jh6Q
-----END PGP SIGNATURE-----


More information about the macports-users mailing list