LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   perl-CGI - no package in repository (https://www.linuxquestions.org/questions/centos-111/perl-cgi-no-package-in-repository-4175589261/)

czezz 09-12-2016 05:35 AM

perl-CGI - no package in repository
 
Ver: CentOS release 5.9 (Final)
Arch: x64

I have added EPEL to my OS yum install epel-release hoping that it will give me possibilities to install perl-CGI.
However, its not there.

I have found external perl-CGI package under this link but I am little bit worried to install it on a production system.

Does anyone know where/how to get official perl-CGI package for CentOS 5.9 ?

wpeckham 09-12-2016 05:51 AM

There are the distribution repositories, but then there is CPAN.
CPAN is the very PERL way to get any and all PERL packages once you already have PERL installed.
Google leads to dozens of solutions, but this page in particular may help: http://twiki.org/cgi-bin/view/TWiki/...allCpanModules

For any package you need, I would go to yum first. If you do not find it there, try CPAN. CPAN has almost EVERYTHING related to PERL

czezz 09-12-2016 06:22 AM

Hi, thanks for reply.
I was afraid to hear about CPAN. I should have made it clear from the first post - I do want to avoid touching CPAN as there is already perl based solution running on the machine.

What I want to do is install monitorix (monitorix.org) which requires some perl packages.
In case these packages break system I would simply roll it back (uninstall new perl packages).
With CPAN things get complicated.

DavidMcCann 09-12-2016 10:58 AM

atrpms is a well-known repository and I've used it myself. Downloading a package and installing it should be safe, but if you want to enable their repository so that it gets updated when necessary, then use priorities to protect your base installation.
https://wiki.centos.org/PackageManag...Yum/Priorities

Mikaku 09-13-2016 03:03 AM

Quote:

Originally Posted by czezz (Post 5604085)
What I want to do is install monitorix (monitorix.org) which requires some perl packages.
In case these packages break system I would simply roll it back (uninstall new perl packages).
With CPAN things get complicated.

Hi czezz,

You can install monitorix on an EL5, EL6 and EL7 without using external repositories other than EPEL. EL4 (which is EOL) will require some packages that you might found in RPMForge repository.

I've removed the Perl-CGI dependency from the Monitorix web site because that dependency is installed automatically by other package on EL6 and EL7, but not for EL5. So it's NOT a direct dependency of Monitorix.

I hope that helped you.
Regards.

czezz 09-16-2016 07:12 AM

Yup, I confirm it works without Perl-CGI on EL5. Thanks for info.
BTW. is mailing list still operational? I have posted there a question on: monitorix-general@lists.sourceforge.net and seems like it never arrived to the mailing list.

Mikaku 09-16-2016 10:55 AM

Quote:

Originally Posted by czezz (Post 5606035)
BTW. is mailing list still operational? I have posted there a question on: monitorix-general@lists.sourceforge.net and seems like it never arrived to the mailing list.

Yes it is but due to Spam it doesn't accept emails from unsubscribed users.
Although as a moderator, I should have received your email, which I don't.


All times are GMT -5. The time now is 05:56 PM.