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

port installed

 

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

Advertisements

Tagged:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Using macport to manage packages at Web Builders.

meta

%d bloggers like this: