How to Install and Uninstall haserl Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 03,2024

1. Install "haserl" package

This tutorial shows how to install haserl on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install haserl

2. Uninstall "haserl" package

This is a short guide on how to uninstall haserl on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove haserl $ sudo apt autoclean && sudo apt autoremove

3. Information about the haserl package on Ubuntu 20.10 (Groovy Gorilla)

Package: haserl
Architecture: amd64
Version: 0.9.35-2
Priority: optional
Section: universe/interpreters
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Chow Loong Jin
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 77
Depends: libc6 (>= 2.14), liblua5.2-0, debconf (>= 0.5) | debconf-2.0
Recommends: lua5.2
Filename: pool/universe/h/haserl/haserl_0.9.35-2_amd64.deb
Size: 29276
MD5sum: 5cb380de06b5c6a7762b50da02221683
SHA1: 7ba0e6f3cf34282133f4255e5248adaeccfc792c
SHA256: 5eb234eff21b96e8111de1b17270592c78c98e6f027f804d5ff7c8e10ebdd514
SHA512: 70bad28b7e6a6d16260b0b8d0a8a19cef4273c650b31382117b00a60887983d8073944eefbf17f9d8f3732b1b25fb37f0ec4a2095cd2bab2cfe48395a0bd8561
Homepage: http://haserl.sourceforge.net/
Description-en: CGI scripting program for embedded environments
Haserl is a CGI wrapper that allows PHP-style programming in Lua or a
POSIX-compliant shell. It is very small, so it can be used in embedded
environments, or where something like PHP is too big.
.
It combines three features into a small CGI engine:
* It parses POST and GET requests, placing form-elements into the
environment as name=value pairs for the CGI script to use. This is
somewhat similar to the uncgi wrapper.
* It opens a shell, and translates all text into printable statements.
All text within <% ... %> constructs is passed verbatim to the shell.
This is somewhat similar to how PHP scripts are parsed.
* It can be set up to drop its permissions to the owner of the script,
giving it some of the security features of suexec or cgiwrapper.
Description-md5: b77d8a66f67b7bc4c60a90f8bbba7bb9