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

Hi everyone. I work at a college where we only use Windows. However, I have started a new project which requires me to change over to a linux system. I chose Fedora Core 5 and the installation was a breeze. My project is to take an existing open source project called CUFTS and port it over to mySQL from postgresql. This is all besides the point. Before I can install CUFTS, I have to have certain perl modules installed. This has brought to what I have found to be a considerable problem. Being that I primarily code on a windows machine, I have always used ppm to obtain new modules. It seems that my Fedora does not come with the wonderful tool and I was wondering if anyone in the monastery knows where I could find an rpm for ppm(preferred) or possibly how to install a perl module manually. Thank you people of the craft.
¥peace from CaMelRyder¥

Replies are listed 'Best First'.
Re: No PPM in fedora
by sgifford (Prior) on Jun 06, 2006 at 20:59 UTC
    In addition to using the command-line CPAN client, as others have already suggested, RedHat packages many perl modules in RPMs. You can search for and install them with Fedora's package manager (I think it's yum nowadays). If they have a module packaged this way, using their system means it will be kept up-to-date automatically, instead of requiring you to monitor the module for changes and update it yourself.
Re: No PPM in fedora
by gellyfish (Monsignor) on Jun 06, 2006 at 20:47 UTC

    Fedora may or may not have Perl modules in it's own package managament system, but I think most people would just use CPAN to do this, it's just as easy as PPM on the whole.

    /J\

Re: No PPM in fedora
by GrandFather (Saint) on Jun 06, 2006 at 20:49 UTC
Re: No PPM in fedora
by VSarkiss (Monsignor) on Jun 06, 2006 at 20:55 UTC
      Hey that's really cool I didn't know you could interface with CPAN like that.
      ¥peace from CaMelRyder¥
Re: No PPM in fedora
by saberworks (Curate) on Jun 06, 2006 at 20:54 UTC
    Just in case you got lost in all those docs, check out the Interactive section:

    http://search.cpan.org/~andk/CPAN-1.87/lib/CPAN.pm#Interactive_Mode

    Then you can install modules with a single command, install Some::Fancy::Module.

    Assuming everything's set up correctly and assuming the packages aren't broken, it should be able to resolve all dependencies for you automatically (although sometimes it takes a while). It works for me about 99% of the time.
Re: No PPM in fedora
by Argel (Prior) on Jun 06, 2006 at 22:56 UTC
Re: No PPM in fedora
by CaMelRyder (Pilgrim) on Jun 07, 2006 at 02:13 UTC
    I really appreciate all of the help guys. Thanks alot. It was immeasurably helpful
    ¥peace from CaMelRyder¥
      This is an old post but still did not have current best practices on RPM-based distributions. Using yum will work for most modules > sudo yum install 'perl(Perl::Module)' example > sudo yum install 'perl(DateTime)' Not every Perl package is package but > cpanspec -b dist.tar.gz will make it for you then you can install with > sudo yum install /path/perl-dist.rpm