Install into /usr/local

Richard Taubo ort at bergersen.no
Sat Feb 17 05:24:44 PST 2007


Hi!

On 14. feb. 2007, at 20.31, Björn Lundin wrote:

> 12 feb 2007 kl. 19.26 skrev Richard Taubo:
>
>> Hi!
>>
>> When installing some software OS X into /usr/local and reading the  
>> corresponding Linux manual, I see that OS X requires me to install  
>> using sudo whereas Linux do not.
>
> May I ask what distro of Linux that has that setting?
> All I've seen has something like

As I said in the above comment I was just: " . . . reading the  
corresponding Linux manual", not installing on a Linux distro, so I  
can't really comment on that. Since the software also runs on  
FreeBSD, NetBSD and Windows, I guess I would also be wrong to call  
the instruction a "Linux manual" given the multisystem nature of the  
software.

There were really just a few things that had to change from the  
instruction to the implementation on my machine, e.g:
	make install => sudo make install
	cp this.conf that.conf => sudo cp this.conf that.conf
	/usr/local/prog/bin/progd => sudo /usr/local/prog/bin/progd

Due to this I was drawing my (maybe wrong?) conclusions that the  
other system (I wrote Linux, but it could be any of the supported  
systems) did not have to use sudo to install. But maybe this was just  
a simplified setup instruction or just how the developer had set up  
his system – I don't really know.

On 14. feb. 2007, at 23.52, Christopher Weldon wrote:
> Has it even been answered whether the documentation for the  
> installation on Linux had the user already login as root? This  
> would circumvent the necessity to use sudo...

The reference manual does mention to login as root.



Best regards,
Richard Taubo


More information about the MacOSX-admin mailing list