Removing Installed Ports

There is a deinstall target in the ports (make deinstall). This target is used when the installed port version is the same as the one in the Makefile—in essence, you're deinstalling exactly the same software package that you installed. If you update your ports so that the version of a package is higher than the installed version, you can't use make deinstall to delete it—you have to use pkg_delete, the same way as you would a package.

Get FreeBSD® Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.