How to install mongodb-clients latest version on Ubuntu?

后端 未结 5 788
说谎
说谎 2021-02-19 01:41

How do I install latest version of mongodb-clients on Ubuntu using apt-get?

apt-get install mongodb-clients only installs version

5条回答
  •  南方客
    南方客 (楼主)
    2021-02-19 01:46

    Use official MongoDB Documents they already mentioned how to install a version of your choice. Steps for installation for Ubuntu 12.04 and 14.04

    For Ubuntu 16.04 use this

    NOTE:- Before that beware that you don't have any existing repository file for MongoDB. You can check using sudo apt-get update.While updating it will show if you have any. If you have then delete it using sudo rm /etc/apt/sources.list.d/mongodb*.list and then install MongoDB

提交回复
热议问题