From Redbrick Wiki
Jump to navigation Jump to search

Macports is like apt-get for OSX, it contains many useful packages, and is a good way of keeping certain things managed and up-to-date.

However, like many tools, it doesn't 'just-work' on the networks in DCU, so here's a guide that will get it up and running within DCU.

Macports Installation

  • Install Macports
  • Then edit it's config file:
sudo vi /opt/local/etc/macports/macports.conf
  • Hit Shift+G for the bottom of the file, and copypasta the following few lines in:
proxy_override_env      yes
# HTTP proxy:
# HTTPS proxy:
# FTP proxy:
# rsync proxy:
  • Then update the port tree:
sudo port selfupdate
  • And if everything is correct, you should see something along the lines of:
The ports tree has been updated. To upgrade your installed ports, you should run
 port upgrade outdated