How To Install node-file-entry-cache on Kali Linux

In this tutorial we learn how to install node-file-entry-cache on Kali Linux. node-file-entry-cache is Node.js library implementing a simple cache for file metadata

Introduction

In this tutorial we learn how to install node-file-entry-cache on Kali Linux.

What is node-file-entry-cache

node-file-entry-cache is:

File-entry-cache is a super simple cache for file metadata, useful for process that work on a given series of files and that only need to repeat the job on the changed ones since the previous run of the process.

The module grew from a need for a super simple and dumb in-memory cache with optional disk persistence for a script to beautify files with “esformatter” only processing files that had changed since last run. Such use case need “fileSize” and “modificationTime” of the files tracked in a simple key/value storage.

There are three methods to install node-file-entry-cache on Kali Linux. 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-file-entry-cache 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-file-entry-cache using apt-get by running the following command:

sudo apt-get -y install node-file-entry-cache

Install node-file-entry-cache Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install node-file-entry-cache

Install node-file-entry-cache Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install node-file-entry-cache

How To Uninstall node-file-entry-cache on Kali Linux

To uninstall only the node-file-entry-cache package we can use the following command:

sudo apt-get remove node-file-entry-cache

Uninstall node-file-entry-cache And Its Dependencies

To uninstall node-file-entry-cache and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove node-file-entry-cache

Remove node-file-entry-cache Configurations and Data

To remove node-file-entry-cache configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge node-file-entry-cache

Remove node-file-entry-cache configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge node-file-entry-cache

Dependencies

node-file-entry-cache have the following dependencies:

References

Summary

In this tutorial we learn how to install node-file-entry-cache package on Kali Linux using different package management tools: apt, apt-get and aptitude.