Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Nov 2001 17:46:50 +0700
From:      Roger Merritt <mcrogerm@stjohn.ac.th>
To:        freebsd-questions@FreeBSD.ORG
Cc:        Nils Holland <nils@tisys.org>
Subject:   Re: uninstalling a port
Message-ID:  <3.0.6.32.20011102174650.007ef7e0@stjohn.stjohn.ac.th>
In-Reply-To: <20011101201854.A3085-100000@jodie.ncptiddische.net>
References:  <Pine.NEB.4.33.0111011839590.9740-100000@sdf.lonestar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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