Installing MacPorts on macOS Sierra

At this moment there’s no package installer for MacPorts and Homebrew isn’t working at all. So to get MacPorts on a brand new installation of macOS Sierra we have to build it from source.

https://www.macports.org/install.php#source


  1. cd” into the directory where you downloaded the package and run “tar xjvf MacPorts-2.3.4.tar.bz2” or “tar xzvf MacPorts-2.3.4.tar.gz”, depending on whether you downloaded the bz2 tarball or the gz one, respectively.
  2. Build and install the recently unpacked sources:
    • cd MacPorts-2.3.4
    • ./configure && make && sudo make install

    Optionally:

    • cd ../
    • rm -rf MacPorts-2.3.4*

Advertisements

2 thoughts on “Installing MacPorts on macOS Sierra”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s