How To Install node-buble on Debian 10
Introduction
In this tutorial we learn how to install node-buble
on Debian 10.
What is node-buble
node-buble is:
Bubl? is a ES2015 compiler : it will turn ES6 javascript code into Javascript that can run in older ES5 environments. Notice that not all of ES6 is supported, either because they give size or performance issues or because they can’t be transpiled to ES5.
ES6 (or ES2015) is ECMAScript version 6 released in 2015 and is supported for instance by Firefox 55. The older ES5 released in 2011 was supported for instance by Firefox 4.
Node.js is an event-based server-side JavaScript engine.
There are three methods to install node-buble
on Debian 10. 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-buble 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-buble
using apt-get
by running the following command:
sudo apt-get -y install node-buble
Install node-buble Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install node-buble
using apt
by running the following command:
sudo apt -y install node-buble
Install node-buble 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-buble
using aptitude
by running the following command:
sudo aptitude -y install node-buble
How To Uninstall node-buble on Debian 10
To uninstall only the node-buble
package we can use the following command:
sudo apt-get remove node-buble
Uninstall node-buble And Its Dependencies
To uninstall node-buble
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove node-buble
Remove node-buble Configurations and Data
To remove node-buble
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge node-buble
Remove node-buble configuration, data, and all of its dependencies
We can use the following command to remove node-buble
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge node-buble
Dependencies
node-buble have the following dependencies:
- node-acorn
- node-acorn-jsx
- node-acorn-object-spread
- node-acorn-dynamic-import
- node-chalk
- node-magic-string
- node-minimist
- node-regexpu-core
- nodejs
References
Summary
In this tutorial we learn how to install node-buble
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.