OS libraries (/usr/lib) are not removed in upgrades, and remain forever.
Third party libraries (/usr/local/lib) will remain installed when they are in the dependency chain for an installed package. If there are newer versions of these libraries, the older libraries remain in the package database in /var/db/pkg/.libs* - so, you only need to delete older packages when you no longer need them.
|