Using macport to manage packages
November 7, 2009 § Leave a comment
These are the common macport commands on mac OSX to install, uninstall and upgrade packages such as php, python, ruby, mysql, sqlite, rails, django, etc.
sudo port install packagename
sudo port uninstall packagename
sudo port upgrade packagename
To see the latest installed version using macport
To install Version Control Git with SVC, you update macport first.
sudo port selfupdate
Then you install Git
# Install Subversion
sudo port install subversion
# Install Git
sudo port install git-core +svn
sudo gem install git