Total Pageviews

Saturday 12 December 2015

macports



Install MacPorts for your version of OS X:
  • OS X 10.11 El Capitan  (https://distfiles.macports.org/MacPorts/MacPorts-2.3.4-10.11-ElCapitan.pkg)
  • OS X 10.10 Yosemite (https://distfiles.macports.org/MacPorts/MacPorts-2.3.4-10.10-Yosemite.pkg)
  • OS X 10.9 Mavericks  (https://distfiles.macports.org/MacPorts/MacPorts-2.3.4-10.9-Mavericks.pkg)

Please note that in order to install and run MacPorts on Mac OS X, your system must have installations of the following components:
  1. Apple's Xcode Developer Tools (version 7.0 or later for El Capitan, 6.1 or later for Yosemite, 5.0.1 or later for Mavericks, 4.4 or later for Mountain Lion, 4.1 or later for Lion, 3.2 or later for Snow Leopard, or 3.1 or later for Leopard), found at the Apple Developer site, on your Mac OS X installation CDs/DVD, or in the Mac App Store. Using the latest available version that will run on your OS is highly recommended.
  2. Apple's Command Line Developer Tools are found at the Apple Developer site, or they can be installed from within Xcode 4. Users of Xcode 3 or earlier can install this by ensuring that the appropriate option(s) are selected at the time of Xcode's install ("UNIX Development", "System Tools", "Command Line Tools", or "Command Line Support").
  3. Xcode 4 and later users need to first accept the Xcode EULA by either launching Xcode or running:
    xcodebuild -license
  4. (Optional) The X11 windowing environment for ports that depend on the functionality it provides to run. You have multiple choices for an X11 server:
    • Apple's X11.app is provided by the “X11 User” package (an optional installation on your system CDs/DVD for older OS Versions and provided unconditionally on Lion).
    • Install the xorg-server port from MacPorts.
    • The XQuartz Project provides a complete X11 release for OS X including server and client libraries and applications
The MacPorts “selfupdate” command will also be run for you by the installer to ensure you have our latest available release and the latest revisions to the “Portfiles” that contain the instructions employed in the building and installation of ports. After installation is done, it is recommended that you run this step manually on a regular basis to to keep your MacPorts system always current:
sudo port -v selfupdate
At this point you should be ready to enjoy MacPorts!
Type “man port” at the command line prompt and/or browse over to our Guide to find out more information about using MacPorts. Help is also available.

from https://www.macports.org/install.php
http://guide.macports.org/#installing.xcode
https://www.macports.org

相关帖子:http://briteming.blogspot.com/2013/02/macports.html