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

Last updated: May 03,2024

1. Install "ruby-rethtool" package

Here is a brief guide to show you how to install ruby-rethtool on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-rethtool

2. Uninstall "ruby-rethtool" package

In this section, we are going to explain the necessary steps to uninstall ruby-rethtool on Ubuntu 20.10 (Groovy Gorilla):

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

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

Package: ruby-rethtool
Architecture: all
Version: 0.0.5-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 63
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-rethtool/ruby-rethtool_0.0.5-1_all.deb
Size: 6042
MD5sum: 76ff847d06818f36f989c9b351c3f4ef
SHA1: 467b15ceb3d6fdd81324971e2966d120c941fb2c
SHA256: b875af25aeb2e5c6a862e0ab231428ae8361b27a24c6da1b0ac90fb03e812647
SHA512: 8dec835176c06c3a89d623353ef64f54581553ab4c502f986462c0e8e934293e93e20e82a8254ee44adf1df8813c1d7a59db9229b776f6dc5452c38ed1e2aa24
Homepage: http://theshed.hezmatt.org/rethtool
Description-en: partial wrapper around the SIOCETHTOOL ioctl
Have you ever needed to get at some details about a network interface from
inside a Ruby script, but got stuck trying to parse the output of ethtool? If
so, you're one-in-a-million, but at least you don't have to write an ethtool
parser any more. use Rethtool instead!
.
At present, Rethtool only supports a couple of things:
* Retrieve various details about the interface (link speed, duplex, etc).
* Determine if the link is currently up or down.
.
Adding extra SIOCETHTOOL features is relatively straightforward, thanks to
cstruct and the base infrastructure already in place.
Description-md5: 5065e55f1bce75426e2350c8bcefde63
Ruby-Versions: all