How to Install and Uninstall ruby-sanitize Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: December 29,2024
1. Install "ruby-sanitize" package
Please follow the steps below to install ruby-sanitize on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
ruby-sanitize
Copied
2. Uninstall "ruby-sanitize" package
This guide covers the steps necessary to uninstall ruby-sanitize on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
ruby-sanitize
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ruby-sanitize package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: ruby-sanitize
Architecture: all
Version: 2.1.0-2+deb9u1build0.16.04.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: 57
Depends: ruby | ruby-interpreter, ruby-nokogiri
Filename: pool/universe/r/ruby-sanitize/ruby-sanitize_2.1.0-2+deb9u1build0.16.04.1_all.deb
Size: 14360
MD5sum: d79bcc74af799c8707be5707d36c44e0
SHA1: af8badcbf56dd5c966710722b501d974a329920a
SHA256: 5b47223ecf338cf8217c4169f4fb9fb301eb8209707ac9b7c8cdf8a3dd380397
SHA512: c7ad6693b5efc937a1fe01f02fed4ad772f278d0593096a480feb05a11d6b010309fb2fe52b90e58e9cd98c7c047f2c6e948569a7f06722c9a1c02e04647aa3c
Homepage: https://github.com/rgrove/sanitize/
Description-en: whitelist-based HTML sanitizer
Sanitize is a whitelist-based HTML sanitizer. Given a list of acceptable
elements and attributes, Sanitize will remove all unacceptable HTML from a
string.
.
Using a simple configuration syntax, you can tell Sanitize to allow certain
elements, certain attributes within those elements, and even certain URL
protocols within attributes that contain URLs. Any HTML elements or attributes
that you don't explicitly allow will be removed.
.
Because it's based on Nokogiri, a full-fledged HTML parser, rather than a bunch
of fragile regular expressions, Sanitize has no trouble dealing with malformed
or maliciously-formed HTML and returning safe output.
Description-md5: 2b64f78c43810e31c817317190e764b0
Ruby-Versions: all
Package: ruby-sanitize
Priority: optional
Section: universe/ruby
Installed-Size: 55
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 2.1.0-2
Depends: ruby | ruby-interpreter, ruby-nokogiri
Filename: pool/universe/r/ruby-sanitize/ruby-sanitize_2.1.0-2_all.deb
Size: 13500
MD5sum: f65cf4fc6ecc81fc52ef93cb4d1262ee
SHA1: a590e1ecc02dfed7e291da8bd8035028f7babac4
SHA256: 8030b43c2b4661156266370250afd4110dea935938df6c111c40643d17f9476d
Description-en: whitelist-based HTML sanitizer
Sanitize is a whitelist-based HTML sanitizer. Given a list of acceptable
elements and attributes, Sanitize will remove all unacceptable HTML from a
string.
.
Using a simple configuration syntax, you can tell Sanitize to allow certain
elements, certain attributes within those elements, and even certain URL
protocols within attributes that contain URLs. Any HTML elements or attributes
that you don't explicitly allow will be removed.
.
Because it's based on Nokogiri, a full-fledged HTML parser, rather than a bunch
of fragile regular expressions, Sanitize has no trouble dealing with malformed
or maliciously-formed HTML and returning safe output.
Description-md5: 2b64f78c43810e31c817317190e764b0
Homepage: https://github.com/rgrove/sanitize/
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Architecture: all
Version: 2.1.0-2+deb9u1build0.16.04.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: 57
Depends: ruby | ruby-interpreter, ruby-nokogiri
Filename: pool/universe/r/ruby-sanitize/ruby-sanitize_2.1.0-2+deb9u1build0.16.04.1_all.deb
Size: 14360
MD5sum: d79bcc74af799c8707be5707d36c44e0
SHA1: af8badcbf56dd5c966710722b501d974a329920a
SHA256: 5b47223ecf338cf8217c4169f4fb9fb301eb8209707ac9b7c8cdf8a3dd380397
SHA512: c7ad6693b5efc937a1fe01f02fed4ad772f278d0593096a480feb05a11d6b010309fb2fe52b90e58e9cd98c7c047f2c6e948569a7f06722c9a1c02e04647aa3c
Homepage: https://github.com/rgrove/sanitize/
Description-en: whitelist-based HTML sanitizer
Sanitize is a whitelist-based HTML sanitizer. Given a list of acceptable
elements and attributes, Sanitize will remove all unacceptable HTML from a
string.
.
Using a simple configuration syntax, you can tell Sanitize to allow certain
elements, certain attributes within those elements, and even certain URL
protocols within attributes that contain URLs. Any HTML elements or attributes
that you don't explicitly allow will be removed.
.
Because it's based on Nokogiri, a full-fledged HTML parser, rather than a bunch
of fragile regular expressions, Sanitize has no trouble dealing with malformed
or maliciously-formed HTML and returning safe output.
Description-md5: 2b64f78c43810e31c817317190e764b0
Ruby-Versions: all
Package: ruby-sanitize
Priority: optional
Section: universe/ruby
Installed-Size: 55
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 2.1.0-2
Depends: ruby | ruby-interpreter, ruby-nokogiri
Filename: pool/universe/r/ruby-sanitize/ruby-sanitize_2.1.0-2_all.deb
Size: 13500
MD5sum: f65cf4fc6ecc81fc52ef93cb4d1262ee
SHA1: a590e1ecc02dfed7e291da8bd8035028f7babac4
SHA256: 8030b43c2b4661156266370250afd4110dea935938df6c111c40643d17f9476d
Description-en: whitelist-based HTML sanitizer
Sanitize is a whitelist-based HTML sanitizer. Given a list of acceptable
elements and attributes, Sanitize will remove all unacceptable HTML from a
string.
.
Using a simple configuration syntax, you can tell Sanitize to allow certain
elements, certain attributes within those elements, and even certain URL
protocols within attributes that contain URLs. Any HTML elements or attributes
that you don't explicitly allow will be removed.
.
Because it's based on Nokogiri, a full-fledged HTML parser, rather than a bunch
of fragile regular expressions, Sanitize has no trouble dealing with malformed
or maliciously-formed HTML and returning safe output.
Description-md5: 2b64f78c43810e31c817317190e764b0
Homepage: https://github.com/rgrove/sanitize/
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu