From owner-freebsd-questions Fri Nov 2 2:46:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by hub.freebsd.org (Postfix) with ESMTP id 54EC837B40A for ; Fri, 2 Nov 2001 02:46:54 -0800 (PST) Received: from tulip ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with SMTP id RAA19366; Fri, 2 Nov 2001 17:46:07 +0700 (ICT) Message-Id: <3.0.6.32.20011102174650.007ef7e0@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Fri, 02 Nov 2001 17:46:50 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt Subject: Re: uninstalling a port Cc: Nils Holland In-Reply-To: <20011101201854.A3085-100000@jodie.ncptiddische.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 08:21 PM 11/1/01 +0100, you wrote: >On Thu, 1 Nov 2001, Erik Sabowski wrote: > >> I want to uninstall a port, so i went to it's directory in the ports tree >> and ran 'make deinstall'. this didn;t work because i upgraded the ports >> tree since then, so what is there is a different version than what is >> installed. does that mean pkg_delete is the way to uninstall it? even >> though i didn;t install it from a package? thanks for any help > >Yes! You can install a port like that. > >1) Find the port you want to deinstall. Let's say you want to deinstall >pine. You'd do: > >pkg_info | grep pine > >You'd then get a line like > >pine-4.40 PINE(tm) - a program for Internet News & eMail > >2) Now that you know the exact name of the port (pine4.40), you can delete >it by typing > >pkg_delete -f pine-4.40 > >That's all! > >Greetings >Nils > >Nils Holland >Ti Systems - FreeBSD in Tiddische, Germany >http://www.tisys.org * nils@tisys.org > I prefer to use: pkg_version -vs first-part-of-port-name -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message