Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Fedora RPM on CentOS machine: Trying to install perl-MongoDB driver from RPM

Posted on 2011-03-18
Last Modified: 2016-02-10
I am trying to install the Perl driver for MongoDB on my CentOS 5 64 bit machine.

I found an RPM here:

But the RPM was for Fedora, not CentOS.

I tried it anyway, like this:

   wget ftp://rpmfind.net/linux/fedora/development/rawhide/x86_64/os/Packages/perl-MongoDB-0.41-3.fc16.x86_64.rpm
    rpm -Uvh perl-MongoDB-0.41-3.fc16.x86_64.rpm

These errors were returned:
       error: Failed dependencies:
        perl(:MODULE_COMPAT_5.12.3) is needed by perl-MongoDB-0.41-3.fc16.x86_64
        rpmlib(FileDigests) <= 4.6.0-1 is needed by perl-MongoDB-0.41-3.fc16.x86_64
        perl(Any::Moose) is needed by perl-MongoDB-0.41-3.fc16.x86_64
        perl(boolean) is needed by perl-MongoDB-0.41-3.fc16.x86_64
        perl(DateTime) is needed by perl-MongoDB-0.41-3.fc16.x86_64
        perl(Tie::IxHash) is needed by perl-MongoDB-0.41-3.fc16.x86_64
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by perl-MongoDB-0.41-3.fc16.x86_64

Is there any way I can make this Fedora RPM work on my CentOS 5 machine?
Question by:hankknight
  • 2

Assisted Solution

cavp76 earned 225 total points
ID: 35168929
Only way is to fill the dependencies, or to add a repository that contains the required RPM packages. Here are some guidelines for this.


Assisted Solution

by:Alberto Cortes
Alberto Cortes earned 50 total points
ID: 35169915
Need to update or install:

Accepted Solution

droyden earned 225 total points
ID: 35171160
Tjust install the module through cpan

Expert Comment

ID: 35171163
Or try;

 yum search mongodb

There might be a centos package

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
capture pcap with filtered traffic 1 84
How yum repo uses sqlite3 to keep metadata about the repository? 2 46
ifconfig 4 69
CentOS 7 Linux for HP DL380 G4 32Bits 7 47
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question