在 ubuntu 18.04 上安装 mongodb 3.4.22 社区版

Install mongodb 3.4.22 community version on ubuntu 18.04

我需要在 ubuntu 18.04 上安装 MongoDB 3.4.22 社区版。我累如下所述link

How to install a specific version of MongoDB?

但它给出了以下错误

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mongodb-org
E: Unable to locate package mongodb-org-server
E: Unable to locate package mongodb-org-shell
E: Unable to locate package mongodb-org-mongos
E: Unable to locate package mongodb-org-tools

很遗憾,Ubuntu 18.04(Bionic Beaver)

的发行版中没有您专门寻找的版本

您可以查看可用版本from here