How to Install and Uninstall ruby-rethtool Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 29,2024

1. Install "ruby-rethtool" package

Please follow the steps below to install ruby-rethtool on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby-rethtool

2. Uninstall "ruby-rethtool" package

This guide covers the steps necessary to uninstall ruby-rethtool on Ubuntu 21.10 (Impish Indri):

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

3. Information about the ruby-rethtool package on Ubuntu 21.10 (Impish Indri)

Package: ruby-rethtool
Architecture: all
Version: 0.0.5-2
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-rethtool/ruby-rethtool_0.0.5-2_all.deb
Size: 6588
MD5sum: bcd9846a60ed99c5116943ae8b96d52b
SHA1: 0d3b5b2b14076015c5a1985bd4bdb2a43cda8692
SHA256: f5fd10c9b938efa76f099edca2b42d990f0a59c09c83526248d7d8ba03763dcc
SHA512: 2d2e0a4284cd05674c9247797b8aecd12ccb94ccd5633674eb53ccea7240d3ab220eed2a08e04f524b4298320aa58838fe21e726fff63189bafeb7e730143514
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