Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: "deinistall" DateTime

by bart (Canon)
on Oct 12, 2012 at 21:35 UTC ( #998791=note: print w/ replies, xml ) Need Help??


in reply to "deinistall" DateTime

You tried to install DateTime, but some test failed, so it wasn't installed. No need to uninstall it.


Comment on Re: "deinistall" DateTime
Re^2: "deinistall" DateTime
by dhofmeister (Initiate) on Oct 12, 2012 at 22:21 UTC
    yes, i know it didn't install. however when i run my nifty script to see what modules are installed (like i said before it's based on File::Find) it looks like it is installed:
    what_perl_modules |grep -i date /usr/local/lib/perl5/5.10.1/CPANPLUS/Selfupdate.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Attribute/Params/Vali +date.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/ValidatePP.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/Validate.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/ValidateXS.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/Validate/XS.pm /usr/local/lib/perl5/site_perl/5.10.1/PA-RISC2.0/Params/Validate/PP.pm <<snip>>

    is it enough to just purge files?

      it looks like it is installed:

      No it doesn't, look again, Params::Validate is not DateTime

      If you want to uninstall all of the dependencies that got installed when you tried to install DateTime, then yes, you just delete the files that were installed. Just be careful not to delete anything that existed before you tried to install the library.

      Though IMO, I don't think it hurts to have a few extra libraries installed (unless you're talking Switch).

        There are some tricks one could use the see what modules are installed most recently.

        You can check the "ctime" of those module files. Unless you did something funky to your filesystem, this should be quite a reliable source for candidate modules to uninstall.

        And perldoc perllocal lists the contents of perllocal.pod, which ought to be updated with new module additions, including date of installation, with every installation using CPAN, and hopefully, with replacements of CPAN, too. (I think I recall that that PPM, (originally) ActiveState's alternative module installer for Windows, doesn't update it.)

        Simply rm'ing the DateTime/ subdirectory appears to have done the trick. Since the dependencies for DateTime seem to have installed ok, i didn't bother (nor want) to delete them.

        the version control suggestion is a good idea, imo. too bad it's not set up on my system :-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-09-15 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls