How to install mongodb-clients latest version on Ubuntu?

后端 未结 5 787
说谎
说谎 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:49

    One could install a mongodb shell on Ubuntu 18.04 by following these instructions or by using an Ansible like .

    At the time of writing, this ansible role installed version 4.2.5 of the mongo shell:

    user@some-host:~/some-dir$ mongo --version
    MongoDB shell version v4.2.5
    git version: x
    OpenSSL version: OpenSSL y
    allocator: z
    modules: none
    build environment:
        distmod: ubuntu1804
        distarch: x86_64
        target_arch: x86_64
    

提交回复
热议问题