syntax for uninstalling. Can I use a regex?

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


1. What is the syntax for finding all installed ports whose name contains
"tex"?
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
files?

When I try "sudo port uninstall texlive", the system replies
Error: port uninstall failed: Registry error: texlive not registered as
installed.
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.
David
-- 
View this message in context: http://old.nabble.com/syntax-for-uninstalling.-Can-I-use-a-regex--tp27735428p27735428.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.



More information about the macports-users mailing list