Install MongoDB on Suse 15 sp3 server

When I would like to install mongdb 5.0.4 on Suse 15 sp3 which is newly installed OS. When I install mongodb using rpm package, it shows “warning: mongodb-enterprise-server-5.0.4-1.suse15.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID e2c63c11: NOKEY
error: Failed dependencies:
openssl is needed by mongodb-enterprise-server-5.0.4-1.suse15.x86_64”
but I suse that the openssl is installed :
“localhost:~/Desktop # rpm -qa | grep openssl
libopenssl1_1-1.1.1d-11.20.1.x86_64
openssl-1_1-1.1.1d-11.20.1.x86_64
libxmlsec1-openssl1-1.2.28-7.5.1.x86_64”

Do anyone have idea on this ?

Welcome to the MongoDB Community Forums @Casper_Chong !

I recommend following the tutorial to Install MongoDB Enterprise Edition on SUSE or Install MongoDB Community Edition on SUSE.

The NOKEY error for verifying package signing is likely due to the first step of importing the MongoDB public key being overlooked or unsuccessful:

sudo rpm --import https://www.mongodb.org/static/pgp/server-5.0.asc

I would make sure you have the MongoDB public key imported before continuing. The openssl error may be misleading due to a missing public key, or perhaps a newer version of openssl is required.

I’m not overly familiar with SUSE, but I believe you can view package dependencies with:

zypper info --requires mongodb-enterprise

Regards,
Stennie