[MacPorts] #51552: Page LibcxxOnOlderSystems: some help with "uninstall all ports that use C++"
MacPorts
noreply at macports.org
Sat Oct 8 03:26:18 CEST 2016
#51552: Page LibcxxOnOlderSystems: some help with "uninstall all ports that use
C++"
----------------------------+--------------------------------
Reporter: tamas.fulop@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: wiki | Version:
Resolution: | Keywords:
Port: |
----------------------------+--------------------------------
Comment (by ken.cunningham.webuse@…):
This was useful (from Jeremy Hu)
{{{
which installed ports are using c++:
grep -R 'c++' /opt/local and port provides .. ? =/
}}}
that gave a moderately long list of files, from which it wasn't too hard
to do
{{{
port provides XYZ
}}}
and figure out which ports they belonged to.
In the end, on my system with hundreds of ports installed, it all came
down to less than a dozen c++ ports, although it took 1/2 an hour to
figure them all out. That was much faster than just bulldozing the whole
installation, however.
--
Ticket URL: <https://trac.macports.org/ticket/51552#comment:4>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system
More information about the macports-tickets
mailing list