How To Install node-core-js-bundle on Debian 12

Learn how to install node-core-js-bundle on Debian 12 with this tutorial. node-core-js-bundle is Modular version of core-js to load only required features

Introduction

In this tutorial we learn how to install node-core-js-bundle on Debian 12.

What is node-core-js-bundle

node-core-js-bundle is:

core-js is a modular standard library for JavaScript. Includes polyfills for ECMAScript up to 2021: promises, symbols, collections, iterators, typed arrays, many other features, ECMAScript proposals. With core-js-bundle, one can load only required features or use it without global namespace pollution.

There are three methods to install node-core-js-bundle on Debian 12. 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-core-js-bundle 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-core-js-bundle using apt-get by running the following command:

sudo apt-get -y install node-core-js-bundle

Install node-core-js-bundle Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install node-core-js-bundle

Install node-core-js-bundle 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-core-js-bundle using aptitude by running the following command:

sudo aptitude -y install node-core-js-bundle

How To Uninstall node-core-js-bundle on Debian 12

To uninstall only the node-core-js-bundle package we can use the following command:

sudo apt-get remove node-core-js-bundle

Uninstall node-core-js-bundle And Its Dependencies

To uninstall node-core-js-bundle and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove node-core-js-bundle

Remove node-core-js-bundle Configurations and Data

To remove node-core-js-bundle configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge node-core-js-bundle

Remove node-core-js-bundle configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge node-core-js-bundle

Dependencies

node-core-js-bundle have the following dependencies:

References

Summary

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