How do uninstall a package and all it's dependencies ?

Patrick Bowen pbowen at
Wed Apr 19 23:29:57 UTC 2006

Low Kian Seong wrote:

>Dear all,
>Been digging around but never really found the answer to this one, say if i
>install xfce4 package and then later I want to uninstall xfce4 and *all*
>it's dependencies, how do i do it ?
>Thank you all in advance.
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"


I do that fairly often when I'm just looking at packages. Try 
"pkg_deinstall -R package-name", where package-name is replaced with the 
name of the package you want to delete, in your case xfce4.

pkg_deinstall -R xfce4.


More information about the freebsd-questions mailing list