Ask if port on mac can completely replace brew

by Poster Apr 10, 2025 14
Because I am down and out, I am still using mbp 2015 mid. The latest system of this notebook can only run MacOS12.7. 6. At the beginning of this year, most brew packages no longer provide software package support for the 12 version system. When brew update, all indexes are synchronized to the latest, which leads to the need to install the latest version by compiling the source code when installing some dependencies. I see that port has built corresponding software packages for each system. I would like to ask if there are any pitfalls in switching directly to port?

Replies

  • Anonymous1789 Apr 10, 2025
    Hey, I also want to use port, compilation will not be affected by system components, can isolate the environment The fact is that there are not enough software packages, and sometimes you have to use brew, which makes it coexist, which is disgusting
  • Anonymous1789 Apr 10, 2025
    Oh, but you control the number of software, it's no problem, it's more troublesome for me to install cask
  • Anonymous46 Apr 10, 2025
    The user base of Mac is only so small, and the cross-version changes of Mac are still very radical. Developers can't have the energy to maintain so many large versions for you. This is a real problem. If you switch to a more niche package manager, the problem will only be more serious, unless your software requirements are very small. But in this case brew or source code compilation is enough
  • Anonymous1889 Apr 10, 2025
    You can go to the formula directory of the package you want to install and git checkout to the desired version. Then use HOMEBREW _ NO _ AUTO _ UPDATE = 1 HOMEBREW _ NO _ INSTALL _ FROM _ API = 1 brew install < package >
  • Anonymous9029 Apr 10, 2025
    You can try using opencore to install the latest version of macOS, which can reduce a lot of trouble
  • Anonymous2170 Apr 10, 2025
    @ Anonymous9029 Even if opencore is used to force the installation of incompatible systems, then there are still drivers with old hardware in the new system?
  • Poster Apr 10, 2025
    @ Anonymous9029 @ Anonymous2170 I have seen this solution. For example, the graphics card driver uses an old driver, which may have stability problems. I still have to work on this computer, and I'm not going to build an unstable system.
  • Anonymous9836 Apr 10, 2025
    I don't know if the software that uses nix-darwin to manage mac can solve your problem
  • Anonymous4576 Apr 10, 2025
    Go to nix, most packages have binary
  • Anonymous12023 Apr 10, 2025
    Not as good as nix
  • Anonymous4034 Apr 10, 2025
    @ Anonymous9029 # 5 That's how I turned a white apple into a black apple.
  • Anonymous9643 Apr 10, 2025
    Use determinate nix installer to install nix, and then install the software directly with nix profile, except that the gui app is a bit inconvenient and you need to link it manually
  • Anonymous9837 Apr 10, 2025
    How is the effect of nix Darwin? It's a little itchy. Can someone help me?
  • Anonymous9838 Apr 11, 2025
    # 5 is also using this scheme now, which has been relatively stable. My macbook pro is from 2012... https://support.apple.com/zh-cn/111958