How To Install mongodb-clients on Debian 9
Introduction
In this tutorial we learn how to install mongodb-clients
on Debian 9.
What is mongodb-clients
mongodb-clients is:
MongoDB is a high-performance, open source, schema-free document-oriented data store that’s easy to deploy, manage and use. It’s network accessible, written in C++ and offers the following features:
* Collection oriented storage - easy storage of object-style data
* Full index support, including on inner objects
* Query profiling
* Replication and fail-over support
* Efficient storage of binary data including large objects (e.g. videos)
* Auto-sharding for cloud-level scalability
High performance, scalability, and reasonable depth of functionality are the goals for the project.
This package contains the standard administrative shell (mongo) and other utilities for administration or analysis of performance of the server.
There are three methods to install mongodb-clients
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install mongodb-clients Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install mongodb-clients
using apt-get
by running the following command:
Install mongodb-clients Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install mongodb-clients
using apt
by running the following command:
Install mongodb-clients Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
After updating apt database, We can install mongodb-clients
using aptitude
by running the following command:
How To Uninstall mongodb-clients on Debian 9
To uninstall only the mongodb-clients
package we can use the following command:
Uninstall mongodb-clients And Its Dependencies
To uninstall mongodb-clients
and its dependencies that are no longer needed by Debian 9, we can use the command below:
Remove mongodb-clients Configurations and Data
To remove mongodb-clients
configuration and data from Debian 9 we can use the following command:
Remove mongodb-clients configuration, data, and all of its dependencies
We can use the following command to remove mongodb-clients
configurations, data and all of its dependencies, we can use the following command:
Dependencies
mongodb-clients have the following dependencies:
- libboost-chrono1.62.0
- libboost-filesystem1.62.0
- libboost-program-options1.62.0
- libboost-regex1.62.0
- libboost-system1.62.0
- libboost-thread1.62.0
- libc6
- libgcc1
References
Summary
In this tutorial we learn how to install mongodb-clients
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.