Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: How to uninstall module of perl

by ig (Vicar)
on May 24, 2009 at 05:40 UTC ( [id://765885]=note: print w/replies, xml ) Need Help??

in reply to Re^2: How to uninstall module of perl
in thread How to uninstall module of perl

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.

Replies are listed 'Best First'.
Re^4: How to uninstall module of perl
by calvinlyp (Novice) on May 24, 2009 at 15:18 UTC

    in the first place i installed using the specified version of the module.i use the steps as shown below to install.

    perl Makefile.PL


    make test

    make install

    recently i went to update by using the following method: cpan -i MIME::Base64

    (can i know the above command i use is to install the latest version from CPAN right?)

      Yes, cpan -i MIME::Base64 will have installed the latest version from CPAN.

      If you download the version of the module you want, you should be able to remove the current (newer) version and install the older version with:

      perl Makefile.PL make make test make install UNINST=1

      Setting UNINST=1 when you install should cause the existing version to be uninstalled.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-12 11:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found