Macports: Difference between revisions

From Redbrick Wiki
Jump to navigation Jump to search
(New page: 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...)
 
No edit summary
 
Line 1: Line 1:
{{outdated}}
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.
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.


Line 27: Line 29:
  The ports tree has been updated. To upgrade your installed ports, you should run
  The ports tree has been updated. To upgrade your installed ports, you should run
   port upgrade outdated
   port upgrade outdated
[[Category:HowTo]]
[[Category:Software]]

Latest revision as of 00:43, 22 April 2026

IMPORTANT: The content of this page is outdated. If you have checked or updated this page and found the content to be suitable, please remove this notice.

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:
proxy_http              proxy1.dcu.ie:3128
# HTTPS proxy:
proxy_https             proxy1.dcu.ie:3128
# FTP proxy:
proxy_ftp               proxy1.dcu.ie:3128
# rsync proxy:
proxy_rsync             proxy1.dcu.ie:3128
  • 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