Ben Chuanlong Du's Blog

It is never too late to learn.

Install GNU Utils Using MacPorts

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Configuration

Run the following command after installation.

export PATH=/opt/local/libexec/gnubin/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH

Installation

sudo port install file
sudo port install coreutils

Issues

  1. had issues to sync ports in office, not sure this is due to network issue or firewall in office rsync: failed to connect to rsync.macports.org: No route to host (65) exit code 10

Comments