Deinstalling perl module installed using CPAN

Gerard Seibert gerard-seibert at suscom.net
Fri Feb 18 23:35:52 GMT 2005


On Fri, 18 Feb 2005 14:54:54 -0500 (EST)"Ean Kingston"
<ean at hedron.org> wrote:

|>Date: Fri, 18 Feb 2005 14:54:54 -0500 (EST)
|>From: "Ean Kingston" <ean at hedron.org>
|>Subject: Re: Deinstalling perl module installed using CPAN
|>To: "Matthew Seaman" <m.seaman at infracaninophile.co.uk>
|>Cc: Liste FreeBSD <freebsd-questions at freebsd.org>
|>Message-ID: <1082.216.220.59.169.1108756494.squirrel at 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 at suscom.net


More information about the freebsd-questions mailing list