Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
JACKSON'S BLOG
MARCH 27, 2015MAY 16, 2015 JACKSON ISAAC FOSS, MAC OS X, OPEN SOURCE
i
Rate This
Hola Amigos,
I have blogged about installing brew package manager previously. Today I am going to show how to
install MacPorts.
What is MacPorts?
MacPorts is an open source package manager for Mac OS X. It makes fetching, compiling and
installing open source packages on Mac OS X easy.
It is recommended that you use only one package manager as there can be package conflicts. But I
have been using MacPorts along with brew without any problems, unless you purposefully try to
break the system.
Also MacPorts depends on Xcode and xcode command line tools. You can download these from App
Store (https://itunes.apple.com/us/app/xcode/id497799835) or from the Apple Developers website
(https://developer.apple.com/downloads/index.action).
You can either download xcode command line tools from Apple Developer website itself or run the
following command after install Xcode:
1 xcode'select+''install
https://jacksonisaac.wordpress.com/2015/03/27/installing-macports-on-mac-os-x/ Page 1 of 3
[How To]: Installing MacPorts on Mac OS X – Jackson's Blog 22/09/17 8:05 p.m.
To install MacPorts (stable version), you can download the dmg from here
(https://www.macports.org/install.php).
Yosemite (https://distfiles.macports.org/MacPorts/MacPorts-2.3.3-10.10-Yosemite.pkg)
Mavericks (https://distfiles.macports.org/MacPorts/MacPorts-2.3.3-10.9-Mavericks.pkg)
Mountain Lion (https://distfiles.macports.org/MacPorts/MacPorts-2.3.3-10.8-
MountainLion.pkg)
Users having older version of Mac OS X can visit their Download page for detailed steps.
1 svn+checkout+https://svn.macports.org/repository/macports/trunk+(https://svn.ma
This will fetch the source of MacPorts into a folder named ‘macports-trunk’.
1 svn+checkout+https://svn.macports.org/repository/macports/trunk+(https://svn.ma
If you have already cloned the source code then run the following code inside the macports-trunk
directory (in Terminal.App):
1 svn+up
Now to compile and install MacPorts, run the following sequence of commands in Terminal.App:
1 ./configure+''enable'readline
2 make
3 sudo+make+install
Run the following command to update your ports (MacPorts base sources)
1 sudo+port+'d+selfupdate
1 port
https://jacksonisaac.wordpress.com/2015/03/27/installing-macports-on-mac-os-x/ Page 2 of 3
[How To]: Installing MacPorts on Mac OS X – Jackson's Blog 22/09/17 8:05 p.m.
1 sudo+port+install+package_name
Hope this helps you installing open source packages on your Mac.
Advertisements
TAGGED BUILD MACPORTS FROM SOURCE, INSTALL MACPORTS ON MAC
OS X, INSTALL MACPORTS ON OS X, INSTALL OPEN SOURCE PACKAGES ON
OS X, MACPORTS, PACKAGE MANAGER FOR MAC OS X, PORT, PORTFILES, THE
MACPORTS PROJECT
Google Summer of Code 2017 Admin with The MacPorts Project. Data Scientist Alumnus at Amrita
Vishwa Vidyapeetham, India and TU Munich, Germany. View all posts by Jackson Isaac
BLOG AT WORDPRESS.COM.
https://jacksonisaac.wordpress.com/2015/03/27/installing-macports-on-mac-os-x/ Page 3 of 3