Install MongoDB Community Edition on Linux - Database Manual - MongoDB Docs
How to install MongoDB Community Edition for supported Linux systems.