Introduction
In this tutorial we learn how to install ace
on Kali Linux.
What is ace
ace 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/).
Please enable JavaScript
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 /usr/bin/ace command-line tool and example files.
There are three methods to install ace
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ace Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ace
using apt-get
by running the following command:
sudo apt-get -y install ace
Install ace Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ace
using apt
by running the following command:
sudo apt -y install ace
Install ace Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ace
using aptitude
by running the following command:
sudo aptitude -y install ace
How To Uninstall ace on Kali Linux
To uninstall only the ace
package we can use the following command:
sudo apt-get remove ace
Uninstall ace And Its Dependencies
To uninstall ace
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ace
Remove ace Configurations and Data
To remove ace
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ace
Remove ace configuration, data, and all of its dependencies
We can use the following command to remove ace
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ace
Dependencies
ace have the following dependencies:
References
Summary
In this tutorial we learn how to install ace
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.