How To Install golang-github-yosssi-ace-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install golang-github-yosssi-ace-dev on Ubuntu 20.04.
What is golang-github-yosssi-ace-dev
golang-github-yosssi-ace-dev is:
Ace is an HTML template engine for Go. This is inspired by Slim (http://slim-lang.com/) and Jade (http://jade-lang.com/). This is a refinement of Gold (http://gold.yoss.si/).
Example:
= doctype html html lang=en head title Hello Ace = css h1 { color: blue; } body h1 {{.Msg}} #container.wrapper p.. Ace is an HTML template engine for Go. This engine simplifies HTML coding in Go web application development. = javascript console.log(‘Welcome to Ace’);
This package provides the Ace library for the Go Programming Language
There are three methods to install golang-github-yosssi-ace-dev on Ubuntu 20.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 golang-github-yosssi-ace-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install golang-github-yosssi-ace-dev using apt-get by running the following command:
sudo apt-get -y install golang-github-yosssi-ace-dev
Install golang-github-yosssi-ace-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install golang-github-yosssi-ace-dev using apt by running the following command:
sudo apt -y install golang-github-yosssi-ace-dev
Install golang-github-yosssi-ace-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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install golang-github-yosssi-ace-dev using aptitude by running the following command:
sudo aptitude -y install golang-github-yosssi-ace-dev
How To Uninstall golang-github-yosssi-ace-dev on Ubuntu 20.04
To uninstall only the golang-github-yosssi-ace-dev package we can use the following command:
sudo apt-get remove golang-github-yosssi-ace-dev
Uninstall golang-github-yosssi-ace-dev And Its Dependencies
To uninstall golang-github-yosssi-ace-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove golang-github-yosssi-ace-dev
Remove golang-github-yosssi-ace-dev Configurations and Data
To remove golang-github-yosssi-ace-dev configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge golang-github-yosssi-ace-dev
Remove golang-github-yosssi-ace-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-yosssi-ace-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-yosssi-ace-dev
References
Summary
In this tutorial we learn how to install golang-github-yosssi-ace-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.