How to Install and Uninstall libformat-human-bytes-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

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

This is a short guide on how to install libformat-human-bytes-perl on Ubuntu 16.04 LTS (Xenial Xerus)

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

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

This tutorial shows how to uninstall libformat-human-bytes-perl on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libformat-human-bytes-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libformat-human-bytes-perl
Priority: optional
Section: universe/perl
Installed-Size: 55
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.06-1
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
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
Homepage: https://metacpan.org/release/Format-Human-Bytes
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu