As a Linux user, I've come to rely on package managers for installing various command-line (and other) programs. Under MacOSX, there are a few third-party options that I am aware of: Fink, Homebrew, and MacPorts. Each one has it's benefits, and I've used all three at various times. I found a decent comparison on stackexchange.
I like MacPorts, but it's a pain whenever I upgrade MacOS. It's likely that Mojave Catalina is the last version of the OS that will support this old Macbook, so this could be that last time I'd have to upgrade MacPorts.
I checked the version of fink, and it's an old one. The self-update and reinstall options failed, so I'm looking at manually reinstalling the latest version, with no idea of which packages I've installed in the past. Fortunately, I found a solution:
bash$ grep -B1 "install ok installed" /sw/var/lib/dpkg/status \
| grep "^Package:" | cut -d: -f2 | cut -d: -f2 > finkinst.txt
The output of this showed the packages I currently have installed with fink so that I can re-install them after installing the latest version of fink.
Comments
Update
Four years after this post and I'm still using MacPorts (and Catalina). It has actually become more useful since it allows me to do things like install newer versions of Apache, MySQL, and PHP that aren't supported by Apple under Catalina.