pkg_delete question

Dmitry Sidorov dsidorov at swsoft.com
Tue Dec 27 22:01:04 PST 2005


On Wed, 2005-12-28 at 13:55 +0800, Yuan Jue wrote:
> hello, all
> 
> I wanna delete a package that I don't want now. I know that when I use 
> portinstall -R xxx to install it, many dependencies have been installed too.
> Now I wanna delete them all if they are not used by any other packages.
> 
> how can I do it? can I "pkg_delete -r xxx"?
> 
> thanks.
> 
yes you can,
ls -al /var/db/pkg
find your package name, and execute:
pkg_delete -r package_name

-- 
Dmitry Sidorov
PEM QA Engineer
SWsoft, Inc.
E-mail: dsidorov at swsoft.com
ICQ UIN: 864582



More information about the freebsd-questions mailing list