How to install mongodb on RHEL 8 -

MongoDB is a document database, storing data in JSON-like form, which is revolutionary approach in the contrast of traditional relational databases. This does not mean that SQL databases will die out anytime soon; they will be here for a long time when you need to store structured data.
This is a companion discussion topic for the original entry at

That explanation can be applied to MongoDB 4.2? is there any difference in the installation?

Hi Vitor_Santos_Dal_Bel,

Welcome to our forums.

Sure, why wouldn’t it work for version 4.2? The tarball install described in the tutorial is kind of generic, it should be work with any recent distribution. Let us know if you run into any issues during install.