How to Install and Uninstall libformat-human-bytes-perl Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 26,2024
1. Install "libformat-human-bytes-perl" package
Please follow the steps below to install libformat-human-bytes-perl on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
libformat-human-bytes-perl
Copied
2. Uninstall "libformat-human-bytes-perl" package
Please follow the guidance below to uninstall libformat-human-bytes-perl on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
libformat-human-bytes-perl
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libformat-human-bytes-perl package on Ubuntu 21.04 (Hirsute Hippo)
Package: libformat-human-bytes-perl
Architecture: all
Version: 0.06-1.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: 23
Depends: perl:any
Filename: pool/universe/libf/libformat-human-bytes-perl/libformat-human-bytes-perl_0.06-1.1_all.deb
Size: 7044
MD5sum: 112f328425cb4d242df9a7efd44a190f
SHA1: cf8bff8070b73a4ef1ea61094913da6234329199
SHA256: 5021c5d8e3e86437506f29e3e830c5237e8a1368f67361cdd0df0587051f1b8d
SHA512: 34d8db378c9f7243393672fb17ce4c97b6d08ab5ebd41fd8571cca7d2cc1d180e09171864389db9d279295fe4fc67129cb55a30ff651d1f39e764298494f6647
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
Architecture: all
Version: 0.06-1.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: 23
Depends: perl:any
Filename: pool/universe/libf/libformat-human-bytes-perl/libformat-human-bytes-perl_0.06-1.1_all.deb
Size: 7044
MD5sum: 112f328425cb4d242df9a7efd44a190f
SHA1: cf8bff8070b73a4ef1ea61094913da6234329199
SHA256: 5021c5d8e3e86437506f29e3e830c5237e8a1368f67361cdd0df0587051f1b8d
SHA512: 34d8db378c9f7243393672fb17ce4c97b6d08ab5ebd41fd8571cca7d2cc1d180e09171864389db9d279295fe4fc67129cb55a30ff651d1f39e764298494f6647
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