The packages may change following the MongoDb version. See documentation for packages requirements
See https://www.mongodb.com/docs/manual/installation/ and https://www.mongodb.com/docs/manual/administration/install-on-linux/ for detailed information.
To download packages see https://www.mongodb.com/try/download/community
🟡 NOTE:
The pacages listed in the wgetcommands are for ubuntu. Adapt the package list for your OS.
Some additional packages can be needed. (RPM or APT following your OS type. Check the documentation to firn the right packages.)
Commands are executed as mongodb user.
root@dev-vm:~$sudosu-mongodbmongodb@dev-vm:~$exportMONGODB_BASE=/u01/app/mongodbmongodb@dev-vm:~$cd $MONGODB_BASE/artifacts# get files for mongodb 8.0 (this is an example, change-it following the version used)mongodb@dev-vm:~$wgethttps://fastdl.mongodb.org/linux/mongodb-linux-x86_64-{os_version}-8.0.4.tgzmongodb@dev-vm:~$wgethttps://downloads.mongodb.com/compass/mongosh-{version}-linux-x64.tgzmongodb@dev-vm:~$wgethttps://fastdl.mongodb.org/tools/db/mongodb-database-tools-{os_version}-x86_64-100.10.0.tgzmongodb@dev-vm:~$ls-l-rw-r--r--1mongodbmongodb54047120Jan1410:11mongodb-database-tools-{os_version}-x86_64-100.10.0.tgz-rw-r--r--1mongodbmongodb39047168Jan1410:10mongodb-linux-x86_64-{os_version}-8.0.4.tgz-rw-r--r--1mongodbmongodb82047119Jan1410:10mongosh-{version}-linux-x64.tgz