How to Install and Uninstall ruby-erubi Package on Ubuntu 20.10 (Groovy Gorilla)
Last updated: November 22,2024
1. Install "ruby-erubi" package
Please follow the instructions below to install ruby-erubi on Ubuntu 20.10 (Groovy Gorilla)
$
sudo apt update
Copied
$
sudo apt install
ruby-erubi
Copied
2. Uninstall "ruby-erubi" package
In this section, we are going to explain the necessary steps to uninstall ruby-erubi on Ubuntu 20.10 (Groovy Gorilla):
$
sudo apt remove
ruby-erubi
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ruby-erubi package on Ubuntu 20.10 (Groovy Gorilla)
Package: ruby-erubi
Architecture: all
Version: 1.9.0-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-erubi/ruby-erubi_1.9.0-1_all.deb
Size: 7780
MD5sum: 60c2f7be6a066e3203726b6f79566e1c
SHA1: 52545c6c17f1d50118776d46495cb4d2fce3b51b
SHA256: ee953cd9921ab792aa6a84f19c97aa16c144ea336666683e49e5539fa57e8196
SHA512: d6b72e34735a755a3716d48f181dbee08a4d7b20ecb38d94c200a1d0b8ceafee4addde66d1f0756457a76d2b62ca3031868a6f296a12bd3310c40ed409d8a969
Homepage: https://github.com/jeremyevans/erubi
Description-en: Small ERB Implementation
Erubi is a ERB template engine for ruby. It is a simplified fork of Erubis,
using the same basic algorithm, with the following differences:
.
* Handles postfix conditionals when using escaping (e.g. <%= foo if bar
%>)
* Supports frozen_string_literal: true in templates via :freeze option
* Works with ruby's --enable-frozen-string-literal option
* Automatically freezes strings for template text when ruby optimizes it (on
ruby 2.1+)
* Escapes ' (apostrophe) when escaping for better XSS protection
* Has 6x faster escaping on ruby 2.3+ by using cgi/escape
* Has 86% smaller memory footprint
* Does no monkey patching (Erubis adds a method to Kernel)
* Uses an immutable design (all options passed to the constructor, which
returns a frozen object)
* Has simpler internals (1 file, <150 lines of code)
Description-md5: 20609cfdda10dfaa241630e66e635605
Ruby-Versions: all
Architecture: all
Version: 1.9.0-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-erubi/ruby-erubi_1.9.0-1_all.deb
Size: 7780
MD5sum: 60c2f7be6a066e3203726b6f79566e1c
SHA1: 52545c6c17f1d50118776d46495cb4d2fce3b51b
SHA256: ee953cd9921ab792aa6a84f19c97aa16c144ea336666683e49e5539fa57e8196
SHA512: d6b72e34735a755a3716d48f181dbee08a4d7b20ecb38d94c200a1d0b8ceafee4addde66d1f0756457a76d2b62ca3031868a6f296a12bd3310c40ed409d8a969
Homepage: https://github.com/jeremyevans/erubi
Description-en: Small ERB Implementation
Erubi is a ERB template engine for ruby. It is a simplified fork of Erubis,
using the same basic algorithm, with the following differences:
.
* Handles postfix conditionals when using escaping (e.g. <%= foo if bar
%>)
* Supports frozen_string_literal: true in templates via :freeze option
* Works with ruby's --enable-frozen-string-literal option
* Automatically freezes strings for template text when ruby optimizes it (on
ruby 2.1+)
* Escapes ' (apostrophe) when escaping for better XSS protection
* Has 6x faster escaping on ruby 2.3+ by using cgi/escape
* Has 86% smaller memory footprint
* Does no monkey patching (Erubis adds a method to Kernel)
* Uses an immutable design (all options passed to the constructor, which
returns a frozen object)
* Has simpler internals (1 file, <150 lines of code)
Description-md5: 20609cfdda10dfaa241630e66e635605
Ruby-Versions: all