Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 18:35:43 -0500
From:      Gerard Seibert <gerard-seibert@suscom.net>
To:        freebsd-questions@freebsd.org
Cc:        Ean Kingston <ean@hedron.org>
Subject:   Re: Deinstalling perl module installed using CPAN
Message-ID:  <20050218182717.6565.GERARD-SEIBERT@suscom.net>
In-Reply-To: <20050218214317.B600416A4E0@hub.freebsd.org>
References:  <20050218214317.B600416A4E0@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Feb 2005 14:54:54 -0500 (EST)"Ean Kingston"
<ean@hedron.org> wrote:

|>Date: Fri, 18 Feb 2005 14:54:54 -0500 (EST)
|>From: "Ean Kingston" <ean@hedron.org>
|>Subject: Re: Deinstalling perl module installed using CPAN
|>To: "Matthew Seaman" <m.seaman@infracaninophile.co.uk>
|>Cc: Liste FreeBSD <freebsd-questions@freebsd.org>
|>Message-ID: <1082.216.220.59.169.1108756494.squirrel@216.220.59.169>
|>Content-Type: text/plain;charset=iso-8859-1
|>
|>
|>> On Fri, Feb 18, 2005 at 03:55:52PM +0100, BSD todoo wrote:
|>>
|>>> How to deinstall a perl module (bsdpan-MailTools-1.64) that has been
|>>> installed using CPAN ?
|>>
|>>     # pkg_delete bsdpan-MailTools-1.64
|>
|>If it was installed with CPAN, it is not in the FreeBSD package database
|>so how is a pkg_delete going to uninstall it?
|>
|>Last time I checked, CPAN did not have an uninstall option. Does anyone
|>know any better?
|>
|>I think you can get an install list out of the source (which might be
|>somewhere in ~/.cpan) and remove all the appropriate files by hand but
|>this might leave perl in an unstable state.
|>
|>-- 
|>Ean Kingston
|>
|>E-Mail: ean_AT_hedron_DOT_org
|>URL: http://www.hedron.org/


********** Reply Separator **********
Friday, February 18, 2005 6:27:17 PM

It has been awhile since I used it, but I believe that CPANPLUS can
uninstall a module. I am not at my machine right now, so I cannot check
it out, but I am pretty sure that you can do it.

For what it's worth, you really should upgrade to CPANPLUS if you use
CPAN frequently. It is far superior, at least in my opinion. You can
install it directly from CPAN. 'install CPANPLUS' sans the quotations
marks.

Good Luck,

Gerard Seibert
gerard-seibert@suscom.net



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