update mongod to specific version ubuntu code example
Example 1: update mongodb version ubuntu
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 656408E390CFB1F5
Example 2: update mongodb version to 4 ubuntu
mongodb-org is already the newest version (4.0.10).