
This step is useful if you want to do port development. (Optional) Configure MacPorts to use port information from Git

configure -enable-readline $ make $ sudo make install $ make distclean configure to relocate MacPorts to another directory if needed. MacPorts uses autoconf and makefiles for installation. $ mkdir -p /opt/mports $ cd /opt/mports $ git clone $ cd macports-base $ git checkout v2.8.1 # skip this if you want to use the development version Will create /opt/mports/macports-base containing everything needed for opt/mports will be used, but you can put the source anywhere. Pick a location to store a working copy of the MacPorts code. Input/output, file text, and other special text types. The following notational conventions are used in the MacPorts Guide to distinguish between terminal Mainly used to set up mirrors and generate support files for installations on macOS. MacPorts base can be compiled on Linux (and possibly other POSIX-compatible systems) where it is

MacPorts is developed on macOS, though it is designed to be portable so it can work on other Unix-like systems,Įspecially those descended from the Berkeley Software Distribution (BSD). On remote computers without compiling from source code. Your operating system and its vendor-supplied software to prevent them from becoming corrupted.Īllows you to create pre-compiled binary installers of ported applications to quickly install software

Provides for uninstalls and upgrades for installed ports.Ĭonfines ported software to a private “ sandbox” that keeps it from intermingling with Installs automatically any required support software, known as dependencies, for a given port.
