0 votes
1 view
in Web Technology by (37.4k points)

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

I am implementing the following command:

apt-get install mongodb-clients only install version 2.4.9.

1 Answer

0 votes
by (80.9k points)

On Ubuntu 16.04:

The important thing is to use mongodb-org-tools instead of mongodb-clients

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6

echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

sudo apt-get update

sudo apt-get install mongodb-org-tools

Related questions

0 votes
2 answers
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer
asked Jan 5 in Web Technology by ashely (37.4k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...