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

Re: Is there an easy way to clean PERL in Fedora 10 and reinstall PERL

by jettero (Monsignor)
on Jul 16, 2009 at 12:07 UTC ( #780675=note: print w/ replies, xml ) Need Help??


in reply to Is there an easy way to clean PERL in Fedora 10 and reinstall PERL

It's Perl. PERL is a shibboleth.

But on topic: What happens when it doesn't work? How do you know it failed? What was the error message?

Most likely, you can just install the rpm over-top and it'll work fine. If you really want, you can remove the perl lib dirs. Where those are located depends on your install, but it's probably something like this: /usr/lib/perl /usr/share/perl /usr/local/lib/perl and /usr/local/share/perl... hard to say.

Try: perl -e 'print "@INC\n"' to get a list of these locations.

-Paul


Comment on Re: Is there an easy way to clean PERL in Fedora 10 and reinstall PERL
Re^2: Is there an easy way to clean PERL in Fedora 10 and reinstall PERL
by taj (Novice) on Jul 16, 2009 at 13:43 UTC
    I get this error as follows: #cpan Undefined subroutine &CPAN::shell called at /usr/bin/cpan line 198. Initially CPAN was not installed, so I Installed the rpm by 'make install". Then CPAN was installed. But now, this is what is happening.I did not use yum for the CPAN install since it does not work. Any help ??? I tried to reinstall the rpm from the CD.But it failed saying there is no transactions.I believe it recognizes that PERL is installed and doe not try to reinstall.
      so I Installed the rpm by 'make install"

      Please slow down and pay attention to what you're telling us. You don't install RPMs with "make install". You install RPMs with "yum". So what did you really do?

      I did not use yum for the CPAN install since it does not work.

      What do you mean by "it does not work"? What unexpected behaviour did you see? Were there any error messages?

      yum works fine for installing modules in Fedora. If you have a problem I'm sure it can be resolved.

      I tried to reinstall the rpm from the CD.But it failed saying there is no transactions.

      Please tell us exactly what the error message said. Copy and paste it. Don't just paraphrase. That helps no-one.

      I believe it recognizes that PERL is installed and doe not try to reinstall.

      Yes, rpm (and, therefore, yum) won't reinstall RPMs that are already installed unless you use the --force option. But I don't believe that you need to reinstall Perl in order to resolve these problems.

      If you clearly explain what you are doing and what error messages you are getting, then I'm confident that we can help you. If you just post vague or incorrect information then we might try a few guesses, but we're likely to get bored quickly :-)

      --

      See the Copyright notice on my home node.

      Perl training courses

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2014-12-17 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (33 votes), past polls