How To Install node-move-concurrently on Ubuntu 18.04

In this tutorial we learn how to install node-move-concurrently on Ubuntu 18.04. node-move-concurrently is Move files and directories concurrently

Introduction

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

What is node-move-concurrently

node-move-concurrently is:

Promises of moves of files or directories with rename, falling back to recursive rename/copy on EXDEV errors, with configurable concurrency and win32 junction support.

If you move across devices or on filesystems that don’t support renaming large directories. That is, situations that result in rename returning the EXDEV error, then move will fallback to copy + delete.

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

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

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

Install node-move-concurrently Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install node-move-concurrently

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

sudo aptitude -y install node-move-concurrently

How To Uninstall node-move-concurrently on Ubuntu 18.04

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

sudo apt-get remove node-move-concurrently

Uninstall node-move-concurrently And Its Dependencies

To uninstall node-move-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-move-concurrently

Remove node-move-concurrently Configurations and Data

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

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

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

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

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

References

Summary

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