How to Install and Uninstall ruby-libxml Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 30,2024

1. Install "ruby-libxml" package

Please follow the steps below to install ruby-libxml on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install ruby-libxml

2. Uninstall "ruby-libxml" package

Please follow the guidelines below to uninstall ruby-libxml on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the ruby-libxml package on Ubuntu 20.04 LTS (Focal Fossa)

Package: ruby-libxml
Architecture: amd64
Version: 3.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: 285
Depends: ruby (>= 1:2.7~0), libc6 (>= 2.14), libxml2 (>= 2.9.10), libruby2.7 (>= 2.7.0-4), ruby (<< 1:2.8~)
Filename: pool/universe/r/ruby-libxml/ruby-libxml_3.1.0-2_amd64.deb
Size: 68452
MD5sum: afcb2de8860d42e7f504b43fb059859d
SHA1: 5fed412c0ec693b5806a1bac59288198f9d97d1e
SHA256: de93eca53a1d5fb92fe67587ea6becb710e1077e4487df2ea97b87fdef78008b
Homepage: https://xml4r.github.com/libxml-ruby
Description: Ruby Bindings for LibXML2
Description-md5: 9687b15af7c8680988a7d37fe981a11c
Ruby-Versions: ruby2.7