remove all installed packages

Adam Vande More amvandemore at gmail.com
Tue Dec 8 20:25:57 UTC 2015


On Tue, Dec 8, 2015 at 2:03 PM, Matthias Apitz <guru at unixarea.de> wrote:

>
> Hello,
>
> Is it enough to remove all installed packages, just doing
>
> # rm -f /usr/local/*
> # rm -f /var/db/pkg/*
>
> Anything else?
>

Much depends on what is exactly installed but in general that looks like a
pretty terrible idea.  If you're willing to going that far, just recreate
the whole system.

Otherwise pkg delete -a

-- 
Adam


More information about the freebsd-questions mailing list