![]() Sudo apt install mongodb-org OR If you want to install any specific version of MongoDB, define the version number as below: It will also install all dependent packages required for MongoDB: Step-3: Install MongoDB on Ubuntu For Ubuntu 18.04 LTS:Įcho "deb bionic/mongodb-org/4.4 multiverse" | sudo tee /etc/apt//mongodb.list For Ubuntu 16.04 LTS:Įcho "deb xenial/mongodb-org/4.4 multiverse" | sudo tee /etc/apt//mongodb.list After adding required APT repositories, use the following commands to install MongoDB on your systems. ![]() ![]() Sudo apt-key adv -keyserver hkp://:80 -recv 656408E390CFB1F5 Let’s add MongoDB APT repository url in /etc/apt//mongodb.list. This is required to test packages before installation: ![]() Sudo apt-get update & sudo apt-get upgrade Step-2: Setup Apt Repository Import GPK key for the MongoDB apt repository on your system using the following command. MongoDB Installation on Ubuntu 18.04-16.04 Command Step-1: At First Update & Upgrade ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |