Use this tutorial to install MongoDB 7.0 Community Edition on LTS (long-term support) releases of Ubuntu Linux using the apt package manager.
apt