Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

How to uninstall module of perl

by calvinlyp (Novice)
on May 22, 2009 at 09:46 UTC ( #765644=perlquestion: print w/replies, xml ) Need Help??

calvinlyp has asked for the wisdom of the Perl Monks concerning the following question:

hi, i am relatively new to perl.

wanted to run some perl script for some project. i install the version of the module required for the software.

however, i did a update of the version of certain modules.

now the software seems to be giving errors after the update.

is there anyway i can downgrade the version of the library or module?

or maybe uninstall the module?

pls help.

Replies are listed 'Best First'.
Re: How to uninstall module of perl
by Anonymous Monk on May 22, 2009 at 10:06 UTC
Re: How to uninstall module of perl
by gnuchu (Novice) on May 22, 2009 at 11:57 UTC
    If you are using ppm then simply:

    $ ppm remove Foo::Bar

      sorry i not very familiar what is ppm. i am using ubuntu 8.10 with perl version 5.10

      by the way how to know where i can delete the files of the module i install?it is because it seems to appear at multiple location of the module i installed. fro eg /usr/lib/perl/5.10/ is in this particular dir, next i also have /usr/local/share/perl/5.10.0 . thus it make me confuse where does the modules go to?

      if i now download an old version and i install it, will it overwrite my current latest version?

        ppm is the Perl Package Manager that comes with ActiveState perl. This build of perl is popular for Windows system but is also available for other system.

        There are several ways you might have installed your modules. If you post the details you may get more specific answers to your questions.

        In general, you should uninstall the modules with the same tool that you used to install them.

        If you used the Ubuntu package manager to install an Ubuntu package, then you should probably use the same package manager to uninstall the package. Simply removing the files may work from perl's perspective but it may confuse your package manager, possibly causing problems in the future. I would uninstall the newer package before installing an older one myself, but someone more familiar with the Ubuntu platform may be able to give you shortcuts.

        If you installed packages directly from CPAN with the cpan or cpanp commands, the CPAN or CPANPLUS modules or by manually downloading from CPAN and following the install directions, then you can follow the advice given in the first response to your post and its linked documents and posts.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2020-10-21 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (223 votes). Check out past polls.

    Notices?