How To Install node-databank on Debian 9

In this tutorial we learn how to install node-databank on Debian 9. node-databank is Node.js JSON storage abstraction layer

Introduction

In this tutorial we learn how to install node-databank on Debian 9.

What is node-databank

node-databank is:

This package is an abstraction tool for document stores or key-value stores in Node.js. Applications can use one interface for developing persistence code, and then at deployment time you can decide what driver to use.

There are three drivers included in this package: ‘memory’, ‘partitioning’, and ‘caching’.

Node.js is an event-based server-side JavaScript engine.

There are three methods to install node-databank 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 node-databank Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install node-databank using apt-get by running the following command:

sudo apt-get -y install node-databank

Install node-databank Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install node-databank using apt by running the following command:

sudo apt -y install node-databank

Install node-databank 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.

sudo aptitude update

After updating apt database, We can install node-databank using aptitude by running the following command:

sudo aptitude -y install node-databank

How To Uninstall node-databank on Debian 9

To uninstall only the node-databank package we can use the following command:

sudo apt-get remove node-databank

Uninstall node-databank And Its Dependencies

To uninstall node-databank and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove node-databank

Remove node-databank Configurations and Data

To remove node-databank configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge node-databank

Remove node-databank configuration, data, and all of its dependencies

We can use the following command to remove node-databank configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge node-databank

Dependencies

node-databank have the following dependencies:

References

Summary

In this tutorial we learn how to install node-databank package on Debian 9 using different package management tools: apt, apt-get and aptitude.