42 votes
Accepted

How to delete MacPorts user after using the Migration Assistant

$ dscl . list /Users | grep -v '^_' daemon Guest macports <--------------------------------------------- remove? mixelpix nobody root $ /usr/bin/dscl . -search /Users name macports macports ...
MmmHmm's user avatar
  • 2,771
25 votes

What are pros and cons for MacPorts, Fink and Homebrew?

Something which other answers (so far) don't appear to have mentioned is that MacPorts has excellent support for legacy versions of macOS. Homebrew only supports the OS's that are currently supported ...
Wowfunhappy's user avatar
  • 7,223
15 votes
Accepted

Can't upgrade macports under Big Sur!

It turns out that the Big Sur's XCode command-line tools aren't good enough for MacPorts. You need to manually download Command Line Tools for Xcode 12.2 from https://developer.apple.com/download/more/...
vy32's user avatar
  • 3,213
12 votes

Localhost refuses to connect after upgrading to Sierra OS

After updating to macOS Sierra, Apache httpd moves the old httpd.conf to httpd.conf.pre-update and place the new one. In order to work the localhost work please try the below procedure: cd /etc/...
Vivek Sathisan's user avatar
10 votes
Accepted

Using python screws up the shell (and/or terminal?)!

There appears to be an issue with recent Macports builds of python see this bug A workaround is to install pyXX-readline (py35-readline has been produced just for this bug) Another is to install ...
mmmmmm's user avatar
  • 29.7k
8 votes

SIP preventing deletion of /opt/local

The directory is SIP-protected because it is the home directory for a macports user, presumably created as part of the MacPorts installation process. The best solution is to first remove that user ...
Stuart J Cuthbertson's user avatar
7 votes

Are my permissions for /usr/local/ correct?

As in Homebrew 1.0.0: Homebrew no longer needs to have ownership of /usr/local. If you wish you can return /usr/local to its default ownership with: sudo chown root:wheel /usr/local
Yuhao Zhang's user avatar
7 votes
Accepted

Updated MacPorts curl implementation behaves differently from previous version and macOS curl

As your MacPorts curl --version command shows, it uses OpenSSL 3.0.0 to connect to secure http sites, while the macOS /usr/bin/curl uses LibreSSL 2.8.3 for the same. The error you are getting for not ...
sfxedit's user avatar
  • 1,664
7 votes

MacOs list package install via curl

No. You're not "installing via curl". You're using curl to download an installer, which you then run. In your two examples, you're downloading a shell script that you're then piping into ...
Marc Wilson's user avatar
  • 5,288
6 votes

Using pip vs. MacPorts for installing Python packages

You should use pip because it's the Python-native tool for managing package installations but you shouldn't pip-install things into your base Python installation. It can be a mess to have to sort out ...
Ian C.'s user avatar
  • 45.6k
5 votes

switch back to clang after installing gcc through Macports on Mavericks

If you want to avoid uninstalling or changing your PATH. Just run: sudo port select --set gcc none …and to re-enable it you run: sudo port select --set gcc gcc5
stiabhan's user avatar
  • 151
5 votes

What are pros and cons for MacPorts, Fink and Homebrew?

I am in China and visiting github often fails, which makes installing brew quite a pain. I know some brew mirror in China, so I raised an issue against brew Provide an easy way to change homebrew's ...
Qiulang 邱朗's user avatar
5 votes
Accepted

Using pip vs. MacPorts for installing Python packages

They can be used concurrently, and there should be no issue between mixing the two (with one kinda big caveat and a gotcha...) The Caveat The caveat is that macports/homebrew and pip will have no ...
Rob M.'s user avatar
  • 82
5 votes
Accepted

How does MacPorts work with /Applications/MacPorts and /opt/usr/local/bin

The different install paths does not have a consequence here. It doesn't matter where the application is installed in terms of running under X11 or native OS X. kitty on macOS is a native macOS ...
jksoegaard's user avatar
  • 75.5k
5 votes
Accepted

Is there a way to "throttle" MacPorts?

You can set the number of cores used by updating buildmakejobs in the macports.conf file. By default all cores are used. buildmakejobs Number of simultaneous make jobs (commands) to use when ...
lx07's user avatar
  • 3,034
4 votes

What does the port xz do in Macports?

$ port info xz xz @5.2.1 (archivers) Variants: universal Description: XZ utils consist of a few relatively separate submodules: * LZMA/XZ encoder/decoder ...
dan's user avatar
  • 12k
4 votes
Accepted

What does the port xz do in Macports?

xz is a compression/decompression tool like zip, bzip2, gzip, and compress.
fd0's user avatar
  • 10.5k
4 votes

prevent inbuilt apache running using server app

I had the same problem! You have to edit: /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf and /Library/Server/Web/Config/apache2/services/ACSServer.conf Change "Listen ..." to "# ...
Franz Podek's user avatar
4 votes
Accepted

gpg-agent stopped working

I'm seeing exactly the same problem and, according to a MacPorts bug report, it's coming from libgpg-error and not seen with GnuPG version 2.1.16. So it seems we need to either wait for the gnupg21 ...
codebrewer's user avatar
4 votes

Macports: switching back to the system default version of Python

/opt/local/bin/python is a symbolic link to the active version of python. You can view the structure with the following command: ls -l /opt/local/bin/python* Since /opt/local/bin is before /usr/bin ...
fd0's user avatar
  • 10.5k
4 votes
Accepted

Transferring from Time Machine shows "MacPorts". What is this and should I transfer it?

MacPorts (a package manager similar to homebrew or Fink) creates an additional user with the name MacPorts/macports and a group with the name macports. Usually the UID(MacPorts) is the last regular ...
klanomath's user avatar
  • 65.9k
4 votes
Accepted

Installing Putty on OSX?

So I gave up on Putty and MacPorts.. I've now removed both programs due to breakage around gtk dependencies. For normal ssh communications, The built in terminal app and screen command line ...
zipzit's user avatar
  • 1,713
4 votes
Accepted

Is it possible to use MacPorts without Xcode or Apple ID?

Only install Xcode CLI tool, since most of the ports work without Xcode although there's a warning during use. Quote from Google Summer of Code 2019 for MacPorts Phase out dependency on Xcode (...
Simba's user avatar
  • 1,363
4 votes
Accepted

Macports: How can I install ports using only versions from a date in the past?

Thank you to Lothar Haeger on the Macports mailing list for giving me the key hint I needed. What I had to do was: Checkout a local copy of the Macports Port Tree from Github. cd ~; git clone https://...
Wowfunhappy's user avatar
  • 7,223
4 votes
Accepted

How can I run command line software with Rosetta 1?

Provided you're on a system where Rosetta v1 is available (up to and including Mac OS X 10.6), you can direct the system to execute the ppc segment of a universal binary using the arch command. /usr/...
bleater's user avatar
  • 275
4 votes
Accepted

MacPorts: What does "Port Health" mean?

Port Health is a report on what the buildbots have built. buildbots are the machines that Macports runs and build binaries from the port files so that you can download the binaries rather than have to ...
mmmmmm's user avatar
  • 29.7k
3 votes
Accepted

Macports update causes Macbook pro to heat up

That behaviour is expected, as each updated port needs to be compiled for your system. Some ports are simpler and don't take much effort. Others are more complex and will cause your MacBook to heat up ...
NetherLinks's user avatar
  • 2,617
3 votes

Are my permissions for /usr/local/ correct?

As of macOS High Sierra or later, /usr/local can no longer be chown'd. The Homebrew team now recommends: sudo chown -R $(whoami) $(brew --prefix)/* to fix Homebrew permissions. See @Carmine Paolino'...
Matias's user avatar
  • 141
3 votes

Macports force-activate all ports

I was able to install the desired port by automating the activation process. The app fails to run due to some library version issues and I seem to be unable to fix those but that's a story for another ...
qubodup's user avatar
  • 171
3 votes

X.Org vs. XQuartz - MacPorts

In general you are confusing several things. XQuartz is a set of libraries to allow X11 applications to be compiled and run on OSX. It is based on the X11 sources from X.org the changes were ...
mmmmmm's user avatar
  • 29.7k

Only top scored, non community-wiki answers of a minimum length are eligible