问题描述
我正在尝试在我的 pop os linux 上安装 mongodb。
我运行了这个:
sudo apt install -y mongodb
然后它说:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mongodb is not available,but is referred to by another package.
This may mean that the package is missing,has been obsoleted,or
is only available from another source
E: Package 'mongodb' has no installation candidate
我该如何解决?有办法吗?
解决方法
假设您使用的是 Ubuntu,则必须启用 Universe 存储库。