How to Install and Uninstall ruby-truncato Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 28,2024

1. Install "ruby-truncato" package

Please follow the guidance below to install ruby-truncato on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-truncato

2. Uninstall "ruby-truncato" package

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

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

3. Information about the ruby-truncato package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-truncato
Architecture: all
Version: 0.7.11-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: 32
Depends: ruby | ruby-interpreter, ruby-htmlentities (>= 4.3.1~), ruby-nokogiri (>= 1.7~)
Filename: pool/universe/r/ruby-truncato/ruby-truncato_0.7.11-1_all.deb
Size: 6344
MD5sum: d312dc97e1ca9883c626d9d236a6b7d8
SHA1: 0de8251bd32d2fe8288dcab8f527c7644990de8d
SHA256: eead74c49391bd3fdcd447c40b2a8b5a2a8d1e600fd350d7fe49fd8acbacfa7a
SHA512: 0f03d668a8ffdf5e8f48c1c9291dc20383608b28f55499d0dad94057201555fc5046701851970f241b194d92b9478f65901bca56b986c03279a06dade1177b24
Homepage: https://github.com/jorgemanrubia/truncato
Description-en: tool for truncating HTML strings efficiently
Ruby tool for truncating HTML strings keeping a valid HTML markup.
.
Its main motivation was that existing libs couldn't truncate a multiple-MB
document into a few-KB one in a reasonable time. It uses the Nokogiri SAX
parser.
Description-md5: 2243c5fcd1aeced2175628de84c90452
Ruby-Versions: all