From owner-freebsd-questions@FreeBSD.ORG Mon May 10 20:22:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F30A16A4CE for ; Mon, 10 May 2004 20:22:20 -0700 (PDT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.247]) by mx1.FreeBSD.org (Postfix) with SMTP id DC24E43D2D for ; Mon, 10 May 2004 20:22:19 -0700 (PDT) (envelope-from roop.nanuwa@gmail.com) Received: by mproxy.gmail.com with SMTP id q44so74464cwc for ; Mon, 10 May 2004 20:22:19 -0700 (PDT) Received: by 10.11.118.4 with SMTP id q4mr12021cwc; Mon, 10 May 2004 20:22:19 -0700 (PDT) Message-ID: <75f3f705040510202240a5eae3@mail.gmail.com> Date: Mon, 10 May 2004 20:22:19 -0700 From: Roop Nanuwa To: Chiang Seng Chang In-Reply-To: <40A03E56.1000909@ctzen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <40A03E56.1000909@ctzen.com> cc: freebsd-questions@freebsd.org Subject: Re: pkg_deinstall or pkg_delete X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 03:22:20 -0000 On Mon, 10 May 2004 22:45:42 -0400, Chiang Seng Chang wrote: > > Hi, > > What's the difference between pkg_deinstall and pkg_delete ? > pkg_deinstall is a wrapper for pkg_delete that supports wildcards and dependency recursion. > If I use portinstall to install a port, which should I use to uninstall it ? > If it's a single port that you want to delete on its own then either will suffice. If you want to do a recursive uninstall or delete multiple packages then you'll probably want to make use of pkg_deinstall. --roop