How to install specific MongoDB Version

Generally to install MongoDB we use the following command.

If you want to install specific version of mongodb, for example if you want install 3.4.0 version you can use the following command.

In the same way if we want to install any version of mongodb we can use this format.