Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: howto uninstall a package/module

by Gilimanjaro (Hermit)
on Mar 02, 2006 at 11:31 UTC ( #533848=note: print w/ replies, xml ) Need Help??


in reply to howto uninstall a package/module

There is no 'real' way to uninstall packages with CPAN, but there is a clean method described in the CPAN FAQ...


Comment on Re: howto uninstall a package/module
Re^2: howto uninstall a package/module
by ForgotPasswordAgain (Deacon) on Mar 06, 2006 at 08:49 UTC
    Wouldn't it make sense to add this as an `uninstall' command to the CPAN shell?

      I think the guys that make CPANPLUS have done exactly that...

      Problem is that 'install' basically just runs a script, and there's no guarantee that removing all the files listed in the packlist completely removes/uninstalls the package...

      Providing an uninstall command might lead users to believe that the results is a 'clean' uninstall, even though that may not be the case. (Nor can it be checked whether it happened).

      My personally prefered way to handle perl-packages is to build them, and package them in an RPM. That way, the perl-package can be easily installed and removed using rpm... This preference has probably arrisen because of my sysadmin background; creating one rpm and placing it in a yum or apt repository that all my machines automatically update from is simple and safe way to maintain identical versions on all systems, and allows kickstart installations that include all required perl-packages...

      There are various ways to create an rpm package out of a CPAN module. I usually use cpan2rpm. But IIRC, CPANPLUS also includes support for tools like this, and would thereby combine CPAN's power and the (admin) easy of rpm's (or other package styles like .deb).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://533848]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-11-27 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (188 votes), past polls