I am trying to install mongodb-enterprise on fedora 25, as guided here. I created the repository (as suggested in step 1), but when I run the command sudo yum install -y mongodb-enterprise
I get this error:
Error: nothing provides libsasl2.so.2()(64bit) needed by
mongodb-enterprise-tools-3.4.0-1.amzn1.x86_64
and when I try to install cyrus-sasl-lib it says Dependencies resolved.
Nothing to do. , I found the command from here, which provides the library libsasl2.so.2
. It seems I am stuck.
PS: I've already tried installing from a Tarball but that also doesn't seem to be working for me. And I have to use mongo-shell version 3.4 only.
Best Answer
As i saw in your statement , you are going to install
MongoDB Enterprise
inFedora 25
. As you said already runFirst i would like to say about Red Hat Enterprise Linux (RHEL) & Fedora.
Red Hat Enterprise Linux (RHEL) is a product of
Red Hat
and is purchased fromRed Hat
and includes a support contact withRed Hat
that you renew every year.Fedora was created by Red Hat as a
community-based
open source project that would always have the latest versions as well as trying out new ideas. Items that do well inFedora
can make it intoRHEL
at a later time.I am sure about that you are doing mistake here. Even as per
MongoDB Fedora documentation
in place ofyou have to run Here
what is dnf?
The steps to install MongoDB on Fedora is pretty simple.
First, login to the server as
root user
.Then, we should add the
repository
to download the package. Open a new repo filemongodb.repo
using below command.For 64-bit system
Then exit and save the file with the command
:wq
Then installing
MongoDB
is now one command awaydnf install mongodb-org mongodb-org-server
When rompted with
Y / n
, enteryes
ory
to download and install the package.Once installed Start-Up MongoDB
For further your ref Here and Here