Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: howto uninstall a package/module

by displeaser (Hermit)
on Mar 02, 2006 at 10:32 UTC ( [id://533841]=note: print w/replies, xml ) Need Help??


in reply to howto uninstall a package/module

Hi,
if you use the activestate distribution you can use the ppm command to remove/uninstall a package.

Enter PPM and type "help uninstall" to get the details.

Hope this helps.

Displeaser

Replies are listed 'Best First'.
Re^2: howto uninstall a package/module
by jeanluca (Deacon) on Mar 02, 2006 at 10:53 UTC
    I'm not sure what disrtibution I'm using, how can I tell ? perl --version gives:
    This is perl, v5.8.7 built for i686-linux
    Also, I don't seem to have a tool called ppm (or PPM) ?

    Any other suggestions ?
    Luca
      If you wrote the module yourself, you are the one responsible for providing clean uninstall method for it.

      If you used MakeMaker for creating a Makefile (I'm assuming that is what you did), it should create an uninstall target for you, so, if you installed your module with make install, you should be able to uninstall it with make uninstall from module's directory.

      Anyway, you should provide more details (how did you install this test module? windoze ppm? perl -MCPAN -e "install Test::Module"? make install?

        I used h2xs -AX ABC::Test
        Than I installed it like:
        perl MakeFile.PL make make install
        Now if I type: make uninstall I get the following message:
        Uninstall is unsafe and deprecated, the uninstallation was not perform +ed. We will show what would have been done. no packlist file found: at /usr/lib/perl5/5.8.7/ExtUtils/Install.pm l +ine 318. make: *** [uninstall_from_sitedirs] Error 2

        Any suggestions ?

        Luca

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-16 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found