Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: howto uninstall a package/module

by mattr (Curate)
on Mar 06, 2006 at 13:45 UTC ( #534679=note: print w/replies, xml ) Need Help??


in reply to howto uninstall a package/module

I just did this because I am a bad boy. I had to install SQLite on an RH9/perl5.8.1 system and it refused! (And said it had duplicate driver files in the tree..). So if you are talking ancient installs and who knows where that came from, watching make won't hack it.

I solved it all by uninstalling DBI and cpan install Bundle::DBI. Whew.

How did I uninstall? Followed the instructions google gave me.. namely search and destroy. In my paranoia I don't destroy and will never know where things should go back if everything breaks, so..

I ran locate DBI.pm to find the various places it hides in the perl tree. At one point I think/hope I did a find . |grep DBI.pm since locate was not up to date but.. okay so I found a bunch of paths ending in DBI.pm.

Basically I renamed all folders called DBI to DBI_old and all DBI.pm files renamed to DBI_old.pm without moving them anywhere. This salved my paranoia (I could grep for DBI_old later on) and my machine is happy. I am wanting to upgrade my perl though.. my other machine is a 5.8.8. (on which various modules like SQL::Statement discover make tests need patching).

Hope this helps. I just pondered the potential merits of saving records of installation sessions on a per-session basis for roll-back but my mind almost melted down. Have a nice day!

Replies are listed 'Best First'.
Re^2: howto uninstall a package/module
by shibu_pu (Acolyte) on Jul 23, 2009 at 06:00 UTC
    In Webmin, we can select modules and uninstall the selected modules.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2021-12-01 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (15 votes). Check out past polls.

    Notices?