How do I install MacPorts on a Mac?

How do I install MacPorts on a Mac?

The macOS package installer automatically installs MacPorts, sets the shell environment, and runs a selfupdate operation to update the ports tree and MacPorts base with the latest release. Download the latest MacPorts-2.7.1-….pkg installer from the releases on GitHub.

Which operating systems does macmacports work on?

MacPorts is developed on macOS, though it is designed to be portable so it can work on other Unix-like systems, especially those descended from the Berkeley Software Distribution (BSD). In practice, installing ports only works on macOS.

How does the selfupdate action work with only MacPorts?

Only checks for (and installs, if available) new versions of MacPorts. The selfupdate action should be used regularly to update the local ports tree with the global MacPorts ports repository so you will have the latest versions of software packages available. It also checks for new releases of MacPorts itself, and upgrades it when necessary.

What version of Xcode do I need to install for MacPorts?

Xcode 3.2.6 and iOS SDK 4.3 – includes the iOS SDK which is not needed for MacPorts. Both are available from the Apple developer website. You may also be able to install Xcode 3.2 from your Mac OS X 10.6 DVD and then run Software Update to get the latest version.

What is the MacPorts project?

The MacPorts Project is an open-source community initiative to design an easy-to-use system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on the Mac operating system.

Do I need port list to work with MacPorts?

You will hardly need port list at all to work with MacPorts. When searching, port search is the better choice and when trying to list ports, port installed and port echo are much more useful. The search action allows finding ports by partial matches of the name or description.

What are the two main parts of MacPorts?

MacPorts may be conceptually divided into two main parts: the infrastructure, known as MacPorts base, and the set of available ports. A MacPorts port is a set of specifications contained in a Portfile that defines an application, its characteristics, and any files or special instructions required to install it.

author

Back to Top