How to Install and Uninstall ruby-sanitize Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 23,2024

1. Install "ruby-sanitize" package

Learn how to install ruby-sanitize on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install ruby-sanitize

2. Uninstall "ruby-sanitize" package

Please follow the instructions below to uninstall ruby-sanitize on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the ruby-sanitize package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: ruby-sanitize
Architecture: all
Version: 2.1.0-2+deb9u1build0.18.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: 58
Depends: ruby | ruby-interpreter, ruby-nokogiri
Filename: pool/universe/r/ruby-sanitize/ruby-sanitize_2.1.0-2+deb9u1build0.18.04.1_all.deb
Size: 14432
MD5sum: f012bdfd1e33d1634f987b96cdde43eb
SHA1: 5b0824871a06b0e6c8c3e1fbdba309cc1e0fb33a
SHA256: 69df497d3e9fa08c92e45b2f15d4e59d7eced7e098f712e2a99c2f02b8668773
SHA512: a0d28dcb7709fdfd3e1977570164a8198e16b1694e477f493c9b76d0c09e0d063c9f046ef4a5dbb6dfea5888e1f280afb6ba9cf17304013faa2046218323582b
Homepage: https://github.com/rgrove/sanitize/
Description: whitelist-based HTML sanitizer
Description-md5: 2b64f78c43810e31c817317190e764b0
Ruby-Versions: all

Package: ruby-sanitize
Architecture: all
Version: 2.1.0-2
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: 55
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
Homepage: https://github.com/rgrove/sanitize/
Description: whitelist-based HTML sanitizer
Description-md5: 2b64f78c43810e31c817317190e764b0
Ruby-Versions: all