The best way to keep the system clean?
karol.kwiat at gmail.com
Mon Sep 24 05:52:37 PDT 2007
> My problem, many times I install some software from ports, it install
> the dependency software. Then after some time, I find that software
> isn't what I want, and deinstall it. At this point, the dependency
> software isn't necessary as well. Is there a way to clean them
> automatically, like the apt-get autoremove in the Ubuntu system.
I don't know what apt-get autoremove does on Ubuntu but have you checked
pkg_deinstall(1) and it's man page? Right from there:
The pkg_deinstall command is a wrapper of pkg_delete(1) used to
deinstall packages, which understands wildcards and is capable
of *recursing through dependencies*.
Have a look at -r and/or -R options.
Karol Kwiatkowski <karol.kwiat at gmail dot com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 542 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070924/29b1e539/signature.pgp
More information about the freebsd-questions