Ubuntu 16.04 (Xenial) echo "deb xenial/mongodb-org/4.4 multiverse" | sudo tee /etc/apt//mongodb-org-4.4.list Ubuntu 18.04 (Bionics) echo "deb bionic/mongodb-org/4.4 multiverse" | sudo tee /etc/apt//mongodb-org-4.4.list To create it, we will only have to execute the following command in a terminal (Ctrl + Alt + T), depending on the version of our system:Įcho "deb focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt//mongodb-org-4.4.list This file will be located in the directory /etc/apt//. This is used by the package management system and we are going to add it using wget from terminal (Ctrl + Alt + T):Īfter that We are going to create the file mongodb-org-4.4.list that will contain the details of the MongoDB repository for the version of Ubuntu that we are using. We importing the public GPG key from MongoDB.
#HOW TO INSTALL MONGODB UBUNTU 16.04 INSTALL#
Sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
#HOW TO INSTALL MONGODB UBUNTU 16.04 UPDATE#
To do so, we will only have to open a terminal (Ctrl + Alt + T) and use the following commands: sudo apt update To install the latest version of MongoDB Community Edition on Ubuntu, we need to install the necessary dependencies. For this reason we are going to install the latest version of this database system from its official repository. The default Ubuntu repositories offer or may offer an outdated version of MongoDB. MongoDB 4.4 Community Edition contains the following Ubuntu LTS versions ( long term support) 64-bit: 20.04 LTS ('Focal'), 18.04 LTS ('Bionic'), 16.04 LTS ('Xenial')
This type of database is widely used in industry. MongoDB is a database system suitable for use in production and with multiple functionalities. This makes the integration of data in certain applications easier and faster. MondoDB instead of saving the data in tables, as it is done in relational databases, saves them in BSON data structures ( a JSON-like specification) with a dynamic schema. In addition, it offers great scalability and performance to create modern applications with powerful databases. It includes features like flexibility, expressive query languages, secondary indexes, and much more.
This is compatible with modern web application development. It is a system of database document-oriented, open source technology-based NoSQL. In the next article we are going to take a look at how we can install MongoDB on Ubuntu.