Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2005 12:00:14 +0600
From:      Dmitry Sidorov <dsidorov@swsoft.com>
To:        Yuan Jue <yuanjue02@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg_delete question
Message-ID:  <1135749614.526.1.camel@sidorov.plesk.ru>
In-Reply-To: <200512281355.31738.yuanjue02@gmail.com>
References:  <200512281355.31738.yuanjue02@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@swsoft.com
ICQ UIN: 864582




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1135749614.526.1.camel>