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

Last updated: April 29,2024

1. Install "ruby-scanf" package

This tutorial shows how to install ruby-scanf on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby-scanf

2. Uninstall "ruby-scanf" package

This tutorial shows how to uninstall ruby-scanf on Ubuntu 21.10 (Impish Indri):

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

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

Package: ruby-scanf
Architecture: all
Version: 1.0.0-2
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 41
Filename: pool/universe/r/ruby-scanf/ruby-scanf_1.0.0-2_all.deb
Size: 10092
MD5sum: feb4696b1f77fc79912310c899c6dc21
SHA1: b631a5f6fb633a0a848dcd2399a6cd90eb21a202
SHA256: edfebac8c8ed496a5d38cfcf7f3474a9c164bf455eac399a8b910ae30902cfe7
SHA512: f7de48afb3702043f7dd805ae6da55fe8346410cc9bab508a5637a0e807909bfb66c206fe7b4d7f3feabbb606afe11997c18d1ebae2994a05bff0c27c7011274
Homepage: https://github.com/ruby/scanf
Description-en: Implementation of the C function scanf
scanf is an implementation of the C function scanf(3), modified
as necessary for Ruby compatibility.
.
The methods provided are String#scanf, IO#scanf, and Kernel#scanf.
Kernel#scanf is a wrapper around STDIN.scanf. IO#scanf can be
used on any IO stream, including file handles and sockets. scanf
can be called either with or without a block.
Description-md5: 88a2d35abcef3d79bcc16b48ea32108d
Ruby-Versions: all