I have installed some packages from macports, and nearly all of them required to install Xorg. How can I remove the Xorg packages? Is there a way to reinstall all my Xorg dependant package without Xorg support?
Mac – How to get rid of Xorg from Macports
macports
Related Question
- Mac – Python IDLE from MacPorts can’t start
- Mac – How to determine what macport (if any) containing an specific file
- Mac – Migrating macports from a backup location
- MacOS – How to get correct file permissions from Macports pip installs
- Macports keeps 3 different versions of LLVM installed
- Mac – How to download macports packages separately
- MacOS – How to make MacPorts reinstall requested ports from a different boot drive
- Mac – How does MacPorts work with /Applications/MacPorts and /opt/usr/local/bin
Best Answer
Many ports have a +nox11 variant, which you can add as a default variant in the variants.conf file that's pointed to in your macports.conf file. However, in my experience, there are some X11-dependent ports that don't have the +nox11 variant. I believe I've also seen situations in which non-X11-dependet port A depends on port B, and port B is so deeply X11-dependent that it wouldn't even make sense for it to have a +nox11 variant. Overall, in my experience, it's practically impossible to keep Xorg from getting installed. :-(