How To Install babel-minify on Debian 10
Introduction
In this tutorial we learn how to install babel-minify
on Debian 10.
What is babel-minify
babel-minify is:
Babel is a toolchain that is mainly used to convert ECMAScript 2015+ code into a backwards compatible version of JavaScript in current and older browsers or environments.
This package doesn’t include all of babel-minify, the following babel-minify helper packages are included:
- node-babel-helper-evaluate-path
- node-babel-helper-flip-expressions
- node-babel-helper-is-void-0
- node-babel-helper-mark-eval-scopes
- node-babel-helper-remove-or-void
- node-babel-helper-to-multiple-sequence-expressions
There are three methods to install babel-minify
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 babel-minify Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install babel-minify
using apt-get
by running the following command:
sudo apt-get -y install babel-minify
Install babel-minify Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install babel-minify
using apt
by running the following command:
sudo apt -y install babel-minify
Install babel-minify 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 babel-minify
using aptitude
by running the following command:
sudo aptitude -y install babel-minify
How To Uninstall babel-minify on Debian 10
To uninstall only the babel-minify
package we can use the following command:
sudo apt-get remove babel-minify
Uninstall babel-minify And Its Dependencies
To uninstall babel-minify
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove babel-minify
Remove babel-minify Configurations and Data
To remove babel-minify
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge babel-minify
Remove babel-minify configuration, data, and all of its dependencies
We can use the following command to remove babel-minify
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge babel-minify
Dependencies
babel-minify have the following dependencies:
References
Summary
In this tutorial we learn how to install babel-minify
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.