How-to QuickStart with MacPorts on Mac OS X 10.11 El Capitan

MacPorts QuickStart for Mac OS X 10.11+



This is Mac Tutorial is about How-to Install and Getting-Started with the MacPorts on Mac OS X 10.11 El Capitan 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.11 El Capitan.

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

Quick-Start MacPorts Mac OS X 10.11 El Capitan - Featured
  1. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    Quick-Start MacPorts Mac OS X 10.11 El Capitan - Open Terminal
  2. Check out MacPorts source

    sudo mkdir -p /opt/mports
    cd /opt/mports
    sudo svn checkout https://svn.macports.org/repository/macports/trunk/base

    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…

  3. Installing the MacPorts

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

    Then Entire process will Take only a Few Minutes…

  4. Update the System PATH

    sudo nano /etc/profile

    Append

    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
  5. Checking MacPorts Installation

    which port
  6. Updating MacPorts Tree

    sudo port -v selfupdate
  7. Required XCode Installation for Building Ports:

    Latest XCode on AppStore
  8. Agree to XCode License

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

    MacPorts Quick-Start Guide