Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: howto uninstall a package/module

by jeanluca (Deacon)
on Mar 02, 2006 at 10:53 UTC ( #533843=note: print w/replies, xml ) Need Help??

in reply to Re: howto uninstall a package/module
in thread howto uninstall a package/module

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 ?

Replies are listed 'Best First'.
Re^3: howto uninstall a package/module
by Eyck (Priest) on Mar 02, 2006 at 11:36 UTC
    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/ l +ine 318. make: *** [uninstall_from_sitedirs] Error 2

      Any suggestions ?

        This is evil, but would work. Reinstall the module you wrote with a version = version + 0.01 . Look at what it says it's doing. (Eg, copying file to /usr/local/perl5/5.8.0/site_perl/ or simliar) As an appropriate user, rm -rf those files it says it's copying (if all you're doing is pure perl module). If you used h2xs binding to a library... then you're beyond my knowledge and I wish you good luck... :) Cheers.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2022-10-02 09:48 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (8 votes). Check out past polls.