当我尝试在我的AWS EC2 Linux实例:Ubuntu12.04.1LTS中安装mongoDb时,
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen我得到以下错误,表示找不到deb命令。
$ deb Sorry, command-not-found has crashed! Please file a bug report
at: https://bugs.launchpad.net/command-not-found/+filebug Please
include the following information with the report:
command-not-found version: 0.2.44有没有人可以帮我弄清楚如何在我的AWS实例中安装deb?
发布于 2012-11-02 20:40:28
Deb不是一个命令。您需要编辑/etc/apt/sources.list文件并添加以下行
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen到文件的末尾。
然后,更新系统,然后安装MongoDB。假设mongodb是您需要的包,然后运行以下命令:
sudo apt-get update
sudo apt-get install mongodbhttps://stackoverflow.com/questions/13195385
复制相似问题