How-to QuickStart with MacPorts on Mac OS X 10.12 Sierra

MacPorts QuickStart for Mac OS X 10.12 Sierra

This is Mac Tutorial is about How-to Install and Getting-Started with the MacPorts on Mac OS X 10.12 Sierra BSD.

The whole process is neither long nor difficult, it require only a Basic Command Practice

Installing MacPorts from Source is the Only way Currently available for Mac OS X 10.12 Sierra.

But with the Installation from SVN Repo you receive the Latest Updates and Enhancements of MacPorts.

Quick-Start MacPorts Mac OS X 10.12 Sierra - Featured
  1. Required XCode Installation for MacPorts:

    Latest XCode on AppStore Install
  2. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    Quick-Start MacPorts Mac OS X 10.12 Sierra - Open Terminal
  3. Install XCode Command Line Tools

    sudo xcode-select --install
  4. Check out MacPorts source

    sudo mkdir -p /opt/mports
    cd /opt/mports
    sudo svn checkout

    Actions to perform Checking out the SVN Repo:

    Hit q to Exit on License Agreement
    Enter “agree” to take it
    Type ‘p’ to Accept the certificate
    If the Connection is broken then Try Again…

  5. Installing the MacPorts

    cd base
    sudo ./configure --enable-readline
    sudo make
    sudo make install

    Then Entire process will Take only a Few Minutes…

  6. Update the System PATH

    sudo nano /etc/profile


    export PATH=$PATH:/opt/local/bin

    Ctrl+x to Save Changes & Exit from nano Editor
    Load the New PATH Set-Up

    sudo source /etc/profile
  7. Checking MacPorts Installation

    which port
  8. Updating MacPorts Tree

    sudo port -v selfupdate
  9. Agree to XCode License

    sudo xcodebuild -license
  10. Getting-Started with MacPorts Packages Installation:

    MacPorts Quick-Start Guide