How to Install and Uninstall ruby-sanitize Package on Kali Linux

Last updated: November 26,2024

1. Install "ruby-sanitize" package

In this section, we are going to explain the necessary steps to install ruby-sanitize on Kali Linux

$ sudo apt update $ sudo apt install ruby-sanitize

2. Uninstall "ruby-sanitize" package

Please follow the guidance below to uninstall ruby-sanitize on Kali Linux:

$ sudo apt remove ruby-sanitize $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-sanitize package on Kali Linux

Package: ruby-sanitize
Version: 6.0.2-2
Installed-Size: 101
Maintainer: Debian Ruby Team
Architecture: all
Depends: ruby-crass (>= 1.0.2), ruby-nokogiri (>= 1.12.0)
Breaks: ruby-gollum-lib (<< 4.2.7.9-2~)
Size: 34744
SHA256: 875e7906588b33ab1de5df676d20c4df12882beecba0b06a0c06a67206051f89
SHA1: 87a4f4ba2d2b81db3f4067af638a6c59abbda17f
MD5sum: 5bfbd040572779c8ff5ec93fd6605f91
Description: 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:
Homepage: https://github.com/rgrove/sanitize/
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-sanitize/ruby-sanitize_6.0.2-2_all.deb