Install MongoDB Community Edition on Red Hat or CentOS
MongoDB 5.2 is a rapid release and is only supported for MongoDB Atlas. MongoDB 5.2 is not supported for use on-premises. For more information, see MongoDB Versioning.
To install the latest MongoDB version supported for on-premises use, MongoDB 5.0, see the MongoDB 5.0 installation instructions.