How To Install node-copy-concurrently on Ubuntu 18.04

In this tutorial we learn how to install node-copy-concurrently on Ubuntu 18.04. node-copy-concurrently is Copy files, directories and symlinks concurrently

Introduction

In this tutorial we learn how to install node-copy-concurrently on Ubuntu 18.04.

What is node-copy-concurrently

node-copy-concurrently is:

Promises of copies of files, directories and symlinks, with concurrency controls and win32 junction fallback.

Ownership is maintained when running as root, permissions are always maintained. On Windows, if symlinks are unavailable then junctions will be used.

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

There are three methods to install node-copy-concurrently 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-copy-concurrently 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-copy-concurrently using apt-get by running the following command:

sudo apt-get -y install node-copy-concurrently

Install node-copy-concurrently Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install node-copy-concurrently

Install node-copy-concurrently 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-copy-concurrently using aptitude by running the following command:

sudo aptitude -y install node-copy-concurrently

How To Uninstall node-copy-concurrently on Ubuntu 18.04

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

sudo apt-get remove node-copy-concurrently

Uninstall node-copy-concurrently And Its Dependencies

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

sudo apt-get -y autoremove node-copy-concurrently

Remove node-copy-concurrently Configurations and Data

To remove node-copy-concurrently configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge node-copy-concurrently

Remove node-copy-concurrently configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge node-copy-concurrently

References

Summary

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