How To Install golang-github-tdewolff-minify-dev on Debian 10
Introduction
In this tutorial we learn how to install golang-github-tdewolff-minify-dev
on Debian 10.
What is golang-github-tdewolff-minify-dev
golang-github-tdewolff-minify-dev is:
github.com/tdewolff/minify is a minifier package written in Go. It provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and an interface to implement any other minifier.
Minification is the process of removing bytes from a file (such as whitespace) without changing its output and therefore shrinking its size and speeding up transmission over the Internet and possibly parsing. The implemented minifiers are high performance and streaming, which implies O(n).
The core functionality associates mimetypes with minification functions, allowing embedded resources (like CSS or JS within HTML files) to be minified as well. Users can add new implementations that are triggered based on a mimetype (or pattern), or redirect to an external command (like ClosureCompiler, UglifyCSS, …)
There are three methods to install golang-github-tdewolff-minify-dev
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 golang-github-tdewolff-minify-dev Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install golang-github-tdewolff-minify-dev
using apt-get
by running the following command:
Install golang-github-tdewolff-minify-dev Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install golang-github-tdewolff-minify-dev
using apt
by running the following command:
Install golang-github-tdewolff-minify-dev 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.
After updating apt database, We can install golang-github-tdewolff-minify-dev
using aptitude
by running the following command:
How To Uninstall golang-github-tdewolff-minify-dev on Debian 10
To uninstall only the golang-github-tdewolff-minify-dev
package we can use the following command:
Uninstall golang-github-tdewolff-minify-dev And Its Dependencies
To uninstall golang-github-tdewolff-minify-dev
and its dependencies that are no longer needed by Debian 10, we can use the command below:
Remove golang-github-tdewolff-minify-dev Configurations and Data
To remove golang-github-tdewolff-minify-dev
configuration and data from Debian 10 we can use the following command:
Remove golang-github-tdewolff-minify-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-tdewolff-minify-dev
configurations, data and all of its dependencies, we can use the following command:
Dependencies
golang-github-tdewolff-minify-dev have the following dependencies:
- golang-github-dustin-go-humanize-dev
- golang-github-fsnotify-fsnotify-dev
- golang-github-matryer-try-dev
- golang-github-spf13-pflag-dev
- golang-github-tdewolff-parse-dev
- golang-github-tdewolff-test-dev
References
Summary
In this tutorial we learn how to install golang-github-tdewolff-minify-dev
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.