Created
November 11, 2009 20:02
-
-
Save karbassi/232244 to your computer and use it in GitHub Desktop.
Install macports on mac.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Move to tmp directory | |
cd $TMPDIR | |
# Download version 1.8.1 of MacPorts | |
curl -OL http://distfiles.macports.org/MacPorts/MacPorts-1.8.1.tar.gz | |
# Untar it | |
tar xzvf MacPorts-1.8.1.tar.gz | |
# Open it | |
cd MacPorts-1.8.1 | |
# Configure, make, and install it | |
./configure && make && sudo make install | |
# Remove MacPorts' install files. | |
cd ../ | |
rm -rf MacPorts-1.8.1* | |
# Update to latest versions | |
sudo port selfupdate | |
sudo port -d sync | |
sudo portindex | |
sudo port upgrade installed | |
# Install default files | |
sudo port install git-core +doc +gitweb +svn +bash_completion | |
sudo port install watch | |
sudo port install tree | |
sudo port install mtr | |
sudo port install imagemagick |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment