Main Content Region


Why use Macports

Macports has useful applications such as grace, gnuplot, octave etc... For scientific computing it is useful.

Requirements before using Macports in college

TCHPC maintains a macports mirror which can be found at this mirror is updated once every 24hrs.

To use macports in TCD you will need a few pieces of information

  • The address of the TCHPC macports mirror (rsync://
  • Some command line skills
  • Administrator access on your mac

The following instructions assume that you have already installed the appropriate version of macports from the dmg file which can be found here

Configuring Macports

First set some configuration options in your .profile (or .cshrc, .bash_profile, .bashrc etc...)
export PATH=/opt/local/bin:$PATH
Once the above is done, open up a new shell to pick up the settings. Now we must tell macports about the mirror located in TCHPC. To do this you must edit the sources.conf file.
sudo vi /opt/local/etc/macports/sources.conf
At the end of the file replace this line
rsync:// [default]
with this one
rsync:// [default]

Running Macports

To update macports,
sudo port sync
sudo port selfupdate
sudo port install perl5 +perl5_12
To install emacs-app
sudo port install emacs-app
The above steps have been carried out on a desktop machine and has been known to work. It works less well on laptops.