How to Install and Uninstall libformat-human-bytes-perl Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 17,2024

1. Install "libformat-human-bytes-perl" package

Please follow the guidance below to install libformat-human-bytes-perl on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libformat-human-bytes-perl

2. Uninstall "libformat-human-bytes-perl" package

This guide covers the steps necessary to uninstall libformat-human-bytes-perl on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove libformat-human-bytes-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libformat-human-bytes-perl package on Ubuntu 20.10 (Groovy Gorilla)

Package: libformat-human-bytes-perl
Architecture: all
Version: 0.06-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 55
Depends: perl
Filename: pool/universe/libf/libformat-human-bytes-perl/libformat-human-bytes-perl_0.06-1_all.deb
Size: 7894
MD5sum: 55dfc771e7e48001a933ce0c75eacf25
SHA1: 0fcf22c07f629dd2b2a1f63de3f719fa3c921f22
SHA256: f437fd8eec0690a5b6a6618c58fcc62c0e236548a03b865f6715f4675150024a
SHA512: 4bb1a0bce71ad20e54c0804774adf41a7eee26fe3400785063a6e578dbaf79031155c801eb3a75aae0c05146f867018c45142f04b1142f7d3c9d91a2725d5dd6
Homepage: https://metacpan.org/release/Format-Human-Bytes
Description-en: Format a bytecount and make it human readable
Format::Human::Bytes is used to convert bytecount values to human-readable
strings. It will return you a printable string which is more readable by
humans than a simple bytecount.
.
For example:
use Format::Human::Bytes;
$readable = Format::Human::Bytes::base2($bytecount[,$decimals]);
It will convert in base 2 format.
.
$readable = Format::Human::Bytes::base10($bytecount[,$decimals]);
It will convert in base 10 format.
.
Another way is to create constructor for example:
.
$fhb = Format::Human::Bytes->new();
$readable = $fhb->base2($bytecount[,$decimals]);
$readable = $fhb->base10($bytecount[,$decimals]);
Description-md5: 7341936f7055dbee53f3ed7150768386