Will mongodb-linux-x86_64-ubuntu1804-4.4.7 work in Ubuntu Linux 20.04 LTS, or we would need mongodb-linux-x86_64-ubuntu2004-4.4.7

We currently have the package version **mongodb-linux-x86_64-ubuntu1804-4.4.7 ,**the community version for current Ubuntu Linux 18.04 LTS .

Since , we need to upgrade to Ubuntu Linux 20.04 LTS.
We need the confirmation if existing mongodb-linux-x86_64-ubuntu1804-4.4.7 will work in Ubuntu Linux 20.04 LTS, or we would need mongodb-linux-x86_64-ubuntu2004-4.4.7.

What version of MongoDB are you using?

I use a virtual machine on my M1 MacBook using Ubuntu 22.10 and have MongoDB 6.0, and 5.15 installed and working perfectly fine.

MongoDB is also in the Ubuntu App Store, so I don’t think you should have any problems.

To be honest with you, to make sure you have the best results, I would just build a new Linux VM with the latest Ubuntu, and the latest MongoDB, and the latest Ops Manager, and then migrate the indexes and other things to it, build it out, and then just move your data over and run your tests/deploy to production when satisfied.

That way you can keep your current setup in production and not have fears of environmental disruptions if something was wrong while you make your determinations of when to finish things.

having said this, A much more effective approach would be using Docker Containers with MongoDB, which makes these things a lot more agnostic. Then you can just upgrade Ubuntu as much as you want, and either leave the container as is, or build the latest and greatest MongoDB Docker container, rinse repeat the above.

1 Like