Coreutils and The State of Oblivion

Charles darwin macports.users at gmail.com
Wed Apr 30 06:40:29 PDT 2008


On Apr 30, 2008, at 9:21 AM, Chris Janton wrote:

> On 2008-04-30 , at 05:56 , Charles darwin wrote:
>
>> I just installed `coreutils' but it seems that it doesn't effect  
>> which utils (cp, df, du, ls …) are default. i.e.
>>
>> $ which cp
>> /bin/cp
>> $ which ls
>> /bin/ls
>> $ which df
>> /bin/df
>> $ which du
>> /usr/bin/du
>> $
>>
>> What is going on? What am I missing?
>
>
> sudo port install coreutils +with_default_names
>
> all of the utilities have a "g" prefix - that way they don't  
> interfere with your standard installed software.
>
> house58 11 # sudo port install coreutils +with_default_names
> --->  Activating coreutils 6.10_0+darwin_9+with_default_names
> --->  Cleaning coreutils
> house58 12 # which cp
> /opt/local/bin/cp
>
> 8)
> ----------------------------------
> Chris Janton  - face at CentosPrime dot COM
> Netminder for Opus1.COM
>
>

Nice!
I just had to first do:
$ sudo port -f uninstall coreutils @6.10_0

and now
$ which ls
/opt/local/bin/ls

Thanks


More information about the macports-users mailing list