How To Install node-ignore-by-default on Ubuntu 18.04

In this tutorial we learn how to install node-ignore-by-default on Ubuntu 18.04. node-ignore-by-default is List of directories you should ignore by default

Introduction

In this tutorial we learn how to install node-ignore-by-default on Ubuntu 18.04.

What is node-ignore-by-default

node-ignore-by-default is:

Node.js module aimed at Node.js development tools. It provides a list of directories that should probably be ignored by such tools.

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

There are three methods to install node-ignore-by-default on Ubuntu 18.04. 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-ignore-by-default 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-ignore-by-default using apt-get by running the following command:

sudo apt-get -y install node-ignore-by-default

Install node-ignore-by-default Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install node-ignore-by-default

Install node-ignore-by-default 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install node-ignore-by-default

How To Uninstall node-ignore-by-default on Ubuntu 18.04

To uninstall only the node-ignore-by-default package we can use the following command:

sudo apt-get remove node-ignore-by-default

Uninstall node-ignore-by-default And Its Dependencies

To uninstall node-ignore-by-default and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove node-ignore-by-default

Remove node-ignore-by-default Configurations and Data

To remove node-ignore-by-default configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge node-ignore-by-default

Remove node-ignore-by-default configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge node-ignore-by-default

References

Summary

In this tutorial we learn how to install node-ignore-by-default package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.