## Follow steps: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ [vagrant@centos7 ~]$ uname -a Linux centos7 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [vagrant@centos7 ~]$ cat /etc/yum.repos.d/mongodb-org-4.4.repo [mongodb-org-4.4] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.4/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.4.asc [vagrant@centos7 ~]$ sudo yum install -y mongodb-org Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftpmirror.your.org * extras: mirror.cs.vt.edu * updates: ewr.edge.kernel.org mongodb-org-4.4 | 2.4 kB 00:00 mongodb-org-4.4/7/primary_db | 11 kB 00:00 No package mongodb-org available. Error: Nothing to do