How to Install and Uninstall node-mongodb Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 24,2024

1. Install "node-mongodb" package

This tutorial shows how to install node-mongodb on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install node-mongodb

2. Uninstall "node-mongodb" package

Learn how to uninstall node-mongodb on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the node-mongodb package on Ubuntu 20.04 LTS (Focal Fossa)

Package: node-mongodb
Architecture: all
Version: 3.5.5+~3.2.7-1
Priority: optional
Section: universe/javascript
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2601
Depends: nodejs, node-bl, node-resolve-from, node-safe-buffer, node-semver (>= 5.1.0)
Filename: pool/universe/n/node-mongodb/node-mongodb_3.5.5+~3.2.7-1_all.deb
Size: 273192
MD5sum: e3f01b43f6aff8711a810c22bd1b011f
SHA1: 78ab3ac07c672abe01fa7e23e44f7335033c3f06
SHA256: 7839955dcbf03d4f114e7052afc08c59e204012f191c4d670c424ed3f862703b
Homepage: https://github.com/mongodb/node-mongodb-native
Description: official MongoDB driver for Node.js
Description-md5: 67a42e5e66d69faf8e4447e0261356dd