When I tried to install mongoDb in my AWS EC2 Linux instance:Ubuntu 12.04.1 LTS,
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
I get this following error, meaning deb command is not found.
$ 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
Can someone please help me find out how to install deb in my AWS instance?
Deb is the installation package format used by all Debian based distributions. The Ubuntu repositories contain thousands of deb packages that can be installed either from the Ubuntu Software Center or from the command line using the apt and apt-get utilities.
The first thing to check is to verify if you have yum installed in your system. If you get the error message above, it means yum is not in your PATH. You can also use the RPM Package Manager (RPM) to check if it knows whether or not yum is installed.
Deb is not a command. You need to edit your /etc/apt/sources.list
file and add the following line
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
to the end of the file.
Then, update your system and then install MongoDB. Assuming mongodb is the package you need then run these commands:
sudo apt-get update sudo apt-get install mongodb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With