syntax for uninstalling. Can I use a regex?

David Epstein David.Epstein at
Sun Feb 28 06:42:33 PST 2010

1. What is the syntax for finding all installed ports whose name contains
Will this include both active and inactive ports?
I tried port search installed tex, but I think it treated both "installed"
and "tex" as search strings.
2. How do I uninstall a whole lot of ports simultaneously? And does
uninstall include removing all the associated bits and pieces, like the dist

When I try "sudo port uninstall texlive", the system replies
Error: port uninstall failed: Registry error: texlive not registered as
Nevertheless there are huge numbers of files in /opt/local with "texlive" as
part of the path name.

What is the procedure for finding out the names involving "texlive" which
ARE registered as installed?
Once I know that, I want to find out how to use a regex to uninstall all of
them simultaneously.

Thanks for any help.
View this message in context:
Sent from the MacPorts - Users mailing list archive at

More information about the macports-users mailing list