We stand with Ukraine to help keep people safe. Join us
MacPorts
MacPorts
4.7
0.0

Install open-source software on Darwin OSes (was DarwinPorts).

4.7
Based on 19 user ratesRead reviews & comments
Free
Absolutely Free

MacPorts overview

MacPorts provides an easy way to install various open-source software products on macOS. MacPorts manages the dependencies for you and makes it easy to later update or uninstall software too. MacPorts provides binary archives of much of the software available in its collection so that you can install software quickly without having to compile it yourself.

Note: The screenshot shown in this listing comes from Pallet, a separate graphical user interface available here.

What’s new in version 2.9.0

Updated on Jan 26 2024

  • Upgrade will now update registry metadata if needed for ports that are not outdated. This should hopefully cut down on revision increases requiring a rebuild just to do things like add or remove dependencies.
  • Added new option startupitem.logfile.stderr. (#67955, mascguy in e70a512)
  • Many single-letter command line options should now work when given after the action name, and apply only to that action. A few like -N can't easily be turned on and off internally, so if in doubt, keep putting single-letter options before the action.
  • Ports that set platforms containing any are now not considered outdated after major OS updates.
  • Dependencies installed for the first time when upgrading a port no longer inherit all variants from the dependent port. Arch checking is now done in this case so +universal is added to the dependency iff needed.
  • Prevented rev-upgrade from complaining about weakly-linked libs that are not present.
  • Avoid installing build-time dependencies when force-upgrading an installed port for which a binary archive will be used.
  • Fixed error when running upgrade with -R and -u options.
  • Fixed rev-upgrade potentially trying to access registry entries that have been uninstalled as a result of a rebuild.
  • Fixed missing make command potentially causing some ports to fail to parse.
  • Prevented destroot.keepdirs from creating files outside the destroot.
  • Running port install on a port that is already installed will set the requested flag for that port.
  • Fixed trace mode on Intel macOS 13.
  • Fixed incorrect trace mode handling of setuid/setgid binaries.
  • Fixed the deactivate and uninstall actions sometimes not handling multiple ports in correct dependency order if one or more of them was specified with non-canonical case.
  • Fixed port names that differ only in case not being considered to be the same when evaulating boolean expressions.
  • Fixed some issues that could occur in the unusual case that a mirror has an archive but not its corresponding signature.
  • If the macports user has an incorrect home directory set somehow, the installer should now fix it.
  • Skip vacuuming the registry database on shutdown (after uninstalling one or more ports) if it would not save significant space.
  • Clean up the SQLite write-ahead log file when closing the registry.
  • Added a simple default test phase for all ports, which currently just checks the architectures of installed files. test.run yes enables the tests defined by the Portfile, as before. It should always be safe to run port test now, and if it fails it means a test didn't pass.
  • Using multiple threads for portindex.
View older MacPorts updates

Information

License

Free

Size

6.9 MB

Developer’s website

https://www.macports.org/

Downloads

53050

App requirements

  • Intel 64
  • Apple Silicon
  • macOS 14.0 or later
  • There is a separate installer for each OS version; be sure to use the correct one.
Try our new feature and write a detailed review about MacPorts. All reviews will be posted soon.

Write your thoughts in our old-fashioned comment

MacUpdate Comment Policy. We strongly recommend leaving comments, however comments with abusive words, bullying, personal attacks of any type will be moderated.
0.0

(0 Reviews of )

There are no reviews yet
  • Comments

  • User Ratings

MichaelHaeusler
MichaelHaeusler
Oct 3 2018
2.5.4
5.0
Oct 3 2018
5.0
Version: 2.5.4
I'm mainly a homebrewer, but for the occasional other package, I need MacPorts, and I like it a lot. Though the weird thing is that the latest update 2.5.4 doesn't support Xcode 10 on High Sierra; to use MacPorts 2.5.4 with Xcode 10, you need to be on Mojave.
ylluminate
ylluminate
May 25 2018
2.4.4
5.0
May 25 2018
5.0
Version: 2.4.4
After years of using and then now struggling with Homebrew, I've finally come home with MacPorts. Markedly better, more offerings that cater to user needs and wants (much more so than just being developer-centric like 'Brew). Our team has even started contributing to MacPorts and are finding development really nice with TCL and the dev community's also less hostile.
Nealnt
Nealnt
May 25 2018
2.4.4
3.0
May 25 2018
3.0
Version: 2.4.4
Version 2.4.4 el capitan gets stuck at verifying. Any ideas?
wintermute
wintermute
Aug 19 2015
2.3.3
0.0
Aug 19 2015
0.0
Version: 2.3.3
Anyone get Pallet to work with MacPorts on OS X v. 10.10.5? I keep getting an error about MacPorts_Framework. I'm a newbie to MacPorts and don't understand how to solve the issue when reading through the user wiki. Somebody posted a bunch of diff patches for download that are supposed to address the problem. How are these applied? It looks like this problem with Pallet has been around for over a year... that is pretty sad considering that adding a GUI (which Pallet does) is likely the first thing a newbie (like me) would do to make managing and viewing packages easier.
Jazzyguy
Jazzyguy
Oct 18 2014
2.3.2
5.0
Oct 18 2014
5.0
Version: 2.3.2
@wordWeaver Update: "Thanks to help form Ryan Schmidt, I was finally able to install MacPorts 2.3.1 on my Yosemite 10.10 Public Beta 1 iMac, running Xcode 6 beta 5. The problem was that I had to set the path to the Xcode beta app in the Terminal, and also install a brand new installation of MacPorts using the source tarball. In other words, if you are also running the Yosemite beta or DP, you cannot use the MacPorts 2.3.1 DMG file, or the "sudo port -v selfupdate" command in the Terminal. You must install a fresh copy of MacPorts under Yosemite using the source tarball. It will then also allow you to update your ports as well. Hope this helps someone." Please Help. How do I get The Developer Tools BETA edition you mentioned in your comment? How do i get the SDK? I am sort of a novice.Ionly want to install Pan on my copy of Yosemite and maybe Kstars if I am successful.
WordWeaver
WordWeaver
Aug 9 2014
2.3.1
0.0
Aug 9 2014
0.0
Version: 2.3.1
Would I be correct to assume that the Yosemite public beta has broken MacPorts? I just typed "sudo port -v selfupdate" in the Terminal and the resulting error I got is as follows: Error: Current platform "darwin 14" does not match expected platform "darwin 13" Error: If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki/Migration OS platform mismatch while executing "mportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform mismatch I guess I am off to that migration URL to see what is going on with MacPorts.
amaloney
amaloney
Jul 26 2013
2.2.0
0.0
Jul 26 2013
0.0
Version: 2.2.0
When I try to install Pallet, I get a failure. The following message appears. What am I doing wrong? ============ ---> Building webkit-gtk Error: org.macports.build for port webkit-gtk returned: command execution failed Please see the log file for port webkit-gtk for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/main.log Error: Unable to upgrade port: 1 Error rebuilding webkit-gtk while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 382) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857)
Derekcurrie
Derekcurrie
Jul 24 2013
2.2.0
0.0
Jul 24 2013
0.0
Version: 2.2.0
Pallet: A quick note to point out that if you would like to use a GUI for MacPorts v2.x, use Pallet. It is available here: https://trac.macports.org/wiki/MacPortsGUI Do NOT bother with Porticus or PortAuthority. They no longer work properly with MacPorts v2. GUIs for MacPorts have never been perfect, but Pallet is a reasonably easy way to learn about available ports. As for installing ports, I've found using the CLI to be easier to use. And I hate CLI commands! I ended up writing the commands then dragging them out of Terminal as clippings. Whenever I need to use the commands I just drop them on Terminal, finish the commands as required, and let Terminal do the work.
SickTeddyBear
SickTeddyBear
Feb 5 2013
2.1.2
5.0
Feb 5 2013
5.0
Version: 2.1.2
Over the years, MacPorts has evolved from being just a "nice to have" tool for command line geeks, and is now a critical part of the infrastructure of OS X. Apple, because of their fear of version 3 of the General Public License (GPL), has completely abandoned updating many of the open source components in OS X. This has affected the BSD userland the most. In some cases, they've tried replacing established tools with their own, but mostly, programs have simply been allowed to languish with no updates past those that were released under the GPLv2. That's where package managers like MacPorts come in, to keep your system from becoming a decrepit and obsolete pile of trash, due to Apple's neglect. This is a key example of why the *nix brethren and sistren among us need to maintain things ourselves, because Apple has once again thrown us under the bus.
Jazzyguy
Jazzyguy
Jul 27 2012
2.1.2
5.0
Jul 27 2012
5.0
Version: 2.1.2
The best software available to get apps like kstars, which is a great astronomy app as well as other open source apps. It is a great addition to OSX.
Mdognrdog
Mdognrdog
Jul 27 2012
2.1.2
0.0
Jul 27 2012
0.0
Version: 2.1.2
Don't construe the following as a knock on MacPorts; it isn't. MacPorts is one of a few different ports repositories for Mac OS X. It's pretty much the closest one to an "official" repository, I think. Having noted that, I had difficulty getting my MacPorts repository to the point where I could effortlessly type "port install package_name" and expect the program to Just Do It. My main need for the various ported programs and libraries was to assist in doing Ruby development, so I went with Homebrew (which does not appear to be available through MacUpdate). Homebrew does the same basic thing as MacPorts, coded entirely in Ruby. I really don't know whether the selection of Homebrew ports is as extensive as the selection of MacPorts. I do know that it's very easy for me to install and manage ports and their dependencies. So: a port repository on your OS X machine is a Good Thing. If MacPorts works great for you, excellent! If it doesn't, there are others, including (maybe limited to) the aforementioned Homebrew, and Fink.
SickTeddyBear
SickTeddyBear
Jul 27 2012
2.1.2
5.0
Jul 27 2012
5.0
Version: 2.1.2
The download link is for Lion. There are different installers for Snow Leopard and Mountain Lion: https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.8-MountainLion.pkg https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.6-SnowLeopard.pkg
mymon
mymon
May 15 2012
2.1
5.0
May 15 2012
5.0
Version: 2.1
For those who already have older version and want to upgrade 1) port -d selfupdate 2) port upgrade outdated 3) port install mc (use with sudo)
SickTeddyBear
SickTeddyBear
May 8 2011
1.9.2
5.0
May 8 2011
5.0
Version: 1.9.2
Am I the only person here who was unaware that there is an official MacPorts GUI called Pallet? Take a look: https://trac.macports.org/wiki/MacPortsGUI
UnconventionalT
UnconventionalT
Dec 4 2010
1.9.2
5.0
Dec 4 2010
5.0
Version: 1.9.2
This is an amazing piece of software, virtually any piece of free open-source software is available to you with this tool, including Gimp, Tesseract OCR, and even Wine.
Yildi
Yildi
Jun 20 2010
1.9.1
5.0
Jun 20 2010
5.0
Version: 1.9.1
I was needing Inkscape with the textext plugin. I have installed Fink but I was having building problems. I have then tested MacPorts 1.9.1 and launched sudo port install inkscape. After a long delay Inkscape has been built with all the dependencies (there are a lot of them) and Voilà ! It worked without a hitch. Inkscape gives some warnings during the launch but it seem to work and the launch is quick. I am using OSX 10.6.4. Now I can begin to explore other OS softwares. Thanks to the MAcPorts team, very nice job!
SickTeddyBear
SickTeddyBear
Jun 10 2010
1.9
5.0
Jun 10 2010
5.0
Version: 1.9
MacPorts works GREAT for me. No problems at all. I currently use it with a 10.5.8 PPC system, and will continue using it when I upgrade to a 10.6.x Intel. MacPorts is also a lifesaver. As a simple example, I just used it to compile the latest bug-fix release of the VideoLAN media player (VLC 1.0.6), which is currently only available in source form. Without MacPorts, I would need to download and compile by hand, and who knows what would have happened. As it is, I just typed "sudo port install vlc", and MacPorts handled the rest, compiling not only VLC, but all the dependencies, and it used the right variants so that I ended up with a clickable program in my /Applications/MacPorts directory as well. Sweet. Although I use MacPorts as my primary package manager, I also use Fink, and if you configure things correctly, they can easily co-exist on the same system and not get in each other's way. All you have to do is make sure that the path to MacPorts' directories come before Fink. You do that like this in your .profile or .bash_profile: test -r /sw/bin/init.sh && . /sw/bin/init.sh export PATH="/opt/local/bin:/opt/local/sbin:${PATH}" export MANPATH="/opt/local/share/man:${MANPATH}" export INFOPATH="/opt/local/share/info:${INFOPATH}"
Borlox
Borlox
Jun 10 2010
1.9
5.0
Jun 10 2010
5.0
Version: 1.9
As a counterpoint to the last two comments, MacPorts almost always works well if it's correctly installed. Apart from Xcode, there are no external dependencies. Once in a while a port fails to build, and then you have to take a particpatory, problem-solving approach -- this is open-source software. I've found that most problems can be resolved by looking up bug reports, reading the mailing list, or posting a query myself. MacPorts is not a point-and-click kind of thing. You have to be comfortable with UNIX or willing to learn.
Macsweep
Macsweep
Jan 8 2010
1.8.2
0.0
Jan 8 2010
0.0
Version: 1.8.2
90% of everything I have tried to install, related to the X Windowing System, fails to install. I have Apple's development tools installed, too. The errors are usually "error code (1)" or "error code (0)" or " 'some-piece' failed to compile" no reason given. I get these whether I install using a GUI or the Terminal. No mention of what these codes mean. The other issue is, although it lists dependencies, it gives no clue as to where to get these or, in many cases, to which of these dependencies come with an application available through Macports.
Albion
Albion
Sep 5 2009
1.8
1.0
Sep 5 2009
1.0
Version: 1.8
Nothing builds with 1.8 under Snow Leopard. Not gimp, not emacs, most of their dependencies fail. Tried uninstalling and reinstalling using instructions given on the web site. Still no luck. A varying handful of important ports are always broken at any given time, but 1.8 achieves new milestones in port breakage.
MichaelHaeusler
MichaelHaeusler
Oct 3 2018
5.0
Oct 3 2018
5.0
Version: null
ylluminate
ylluminate
May 25 2018
5.0
May 25 2018
5.0
Version: null
Nealnt
Nealnt
May 25 2018
3.0
May 25 2018
3.0
Version: null
Toosit
Toosit
Sep 12 2015
5.0
Sep 12 2015
5.0
Version: null
Priosantos Jan
Priosantos Jan
Feb 7 2013
5.0
Feb 7 2013
5.0
Version: null
SickTeddyBear
SickTeddyBear
Feb 5 2013
5.0
Feb 5 2013
5.0
Version: null
Jazzyguy
Jazzyguy
Jul 27 2012
5.0
Jul 27 2012
5.0
Version: null
mymon
mymon
May 15 2012
5.0
May 15 2012
5.0
Version: null
Eridani
Eridani
Dec 6 2011
5.0
Dec 6 2011
5.0
Version: null
Shooters
Shooters
Sep 18 2011
5.0
Sep 18 2011
5.0
Version: null
fonginator
fonginator
Sep 17 2011
5.0
Sep 17 2011
5.0
Version: null
Mr-W-
Mr-W-
Jul 30 2011
4.5
Jul 30 2011
4.5
Version: null
UnconventionalT
UnconventionalT
Dec 4 2010
5.0
Dec 4 2010
5.0
Version: null
Yildi
Yildi
Jun 20 2010
5.0
Jun 20 2010
5.0
Version: null
Borlox
Borlox
Jun 10 2010
5.0
Jun 10 2010
5.0
Version: null
Albion
Albion
Sep 5 2009
1.0
Sep 5 2009
1.0
Version: null
Fonik
Fonik
Aug 9 2008
5.0
Aug 9 2008
5.0
Version: null
Gaoshan
Gaoshan
Dec 27 2006
5.0
Dec 27 2006
5.0
Version: null
Eliashc
Eliashc
Dec 26 2006
5.0
Dec 26 2006
5.0
Version: null
Free
Absolutely Free
How would you rate MacPorts?
Similar apps
PortAuthority
GUI for MacPorts package-management system.
Is this app is similar to PortAuthority? Vote to improve the quality of this list.
Vote results
0
Upvotes
2
Total score
0
Downvotes
Fink
Binary package manager.
Is this app is similar to Fink? Vote to improve the quality of this list.
Vote results
0
Upvotes
1
Total score
0
Downvotes
MAMP
Create a local server environment.
Is this app is similar to MAMP? Vote to improve the quality of this list.
Vote results
0
Upvotes
0
Total score
0
Downvotes
Sudo
Run programs with security privileges of another user.
Is this app is similar to Sudo? Vote to improve the quality of this list.
Vote results
0
Upvotes
0
Total score
0
Downvotes