![]() ![]() Now copy the extracted folder to the location from which you wish MongoDB to run: $ mkdir -p mongodb $ cp -R -n mongodb-linux-x86_64-3.4.1/ mongodb From a system shell, you can extract through the tar command: $ tar -zxvf mongodb-linux-x86_64-3.4.1.tgz Then extract the files from the downloaded archive. ![]() If you have not installed MongoDB using a package manager, you can manually download the MongoDB binaries from the MongoDB Download Center.įor example, to download the latest release through the shell, issue the following: $ curl -O Update mongodb for mac install#Now you can simply issue the following command to install the latest version of MongoDB: $ sudo zypper -n install mongodb-org Feel free to replace the version number 12 to match yours: $ sudo zypper addrepo - gpgcheck “ 12/mongodb-org/3.4/x86_64/" mongodb Then add the MongoDB repository origin using zypper. On recent Fedora releases (>22), you may need to use dnf instead: $ sudo dnf install -y mongodb-org Upgrading MongoDB on SUSE, SLES and OpenSUSEįirst of all, you will need to import the MongoDB public GPG Key: $ sudo rpm -import Now you can simply issue the following command to install the latest version of MongoDB: $ sudo yum install -y mongodb-org ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |