アットウィキロゴ

Macports

This tutorial page shows you how to use the Macports
  1. Download the Macports binary file from http://svn.macosforge.org/repository/macports/downloads/
  2. Install the by .pkg format
  3. make the ~/.bash_profile and edit it as follows.
  • export PATH=/opt/local/bin:/opt/local/sbin/:$PATH
  • export MANPATH=/opt/local/man:$MANPATH
  1. Self update by the next command
  • sudo port -v selfupdate
  1. Macports directory is saved at /opt/local/
  2. port <sub command>
  3. sudo port <sub command>
  • Sub command lists
sub command explanation
activate activate the port installed (default: activated)
clean delete the interim file
contents display the file name installed by ports
deactivate deactivate the installed ports
deps display the dependence of each port
info display the information about the port
install install the ports
installed display the installed ports
list list the ports available
outdated list the ports outdated, which means upgradable
selfupdate update all the installed ports
upgrade update the port specified
uninstall remove the ports
variants display the option available
最終更新:2009年09月30日 12:09