How to Install and Uninstall mongodb-server Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 05,2024

1. Install "mongodb-server" package

This is a short guide on how to install mongodb-server on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install mongodb-server

2. Uninstall "mongodb-server" package

In this section, we are going to explain the necessary steps to uninstall mongodb-server on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove mongodb-server $ sudo apt autoclean && sudo apt autoremove

3. Information about the mongodb-server package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: mongodb-server
Architecture: all
Version: 1:3.6.3-0ubuntu1.4
Priority: optional
Section: universe/database
Source: mongodb
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MongoDB Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 74
Depends: mongodb-clients, mongodb-server-core (>= 1:3.6.3-0ubuntu1.4), mongodb-server-core (<< 1:3.6.3-0ubuntu1.4.1~), adduser, lsb-base (>= 3.0-6)
Filename: pool/universe/m/mongodb/mongodb-server_3.6.3-0ubuntu1.4_all.deb
Size: 12592
MD5sum: f239161268490dcd9c2119a6304b311e
SHA1: d7181c5f374f0622c73a895d4060c953ee6d669c
SHA256: 733ebd7a2bb231a743b66c51ae339cb962ae8f59897e73a40f880b059f237771
SHA512: c17dfe85fca2329c921ed1fec804f190df90bb06889a3e2e10e962d45e669faa83b6cc68961549497ff9794c8cd72f4dcad3705dc1da9d355e8e67e0ef3b472f
Homepage: https://www.mongodb.org
Description: object/document-oriented database (managed server package)
Description-md5: d69ade9ea95f5bdcf2dfe5fc8001563b

Package: mongodb-server
Architecture: all
Version: 1:3.6.3-0ubuntu1
Priority: optional
Section: universe/database
Source: mongodb
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian MongoDB Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 74
Depends: mongodb-clients, mongodb-server-core (>= 1:3.6.3-0ubuntu1), mongodb-server-core (<< 1:3.6.3-0ubuntu1.1~), adduser, lsb-base (>= 3.0-6)
Filename: pool/universe/m/mongodb/mongodb-server_3.6.3-0ubuntu1_all.deb
Size: 12576
MD5sum: fdd51655167d7fdf8f946a8c5643b82f
SHA1: cc3f982b7bc640fcfdae2375902a08d520b696fd
SHA256: 31f5c8f80eb44befd172629c8eead82129194b9c8e28fbae15b5567893ba60f9
Homepage: https://www.mongodb.org
Description: object/document-oriented database (managed server package)
Description-md5: d69ade9ea95f5bdcf2dfe5fc8001563b