How to Install and Uninstall python3-bytesize Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "python3-bytesize" package

This tutorial shows how to install python3-bytesize on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-bytesize

2. Uninstall "python3-bytesize" package

Learn how to uninstall python3-bytesize on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-bytesize $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-bytesize package on Ubuntu 21.10 (Impish Indri)

Package: python3-bytesize
Architecture: amd64
Version: 2.5-1build1
Priority: optional
Section: universe/python
Source: libbytesize
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Utopia Maintenance Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 39
Depends: libbytesize1 (= 2.5-1build1), python3:any, python3-six
Filename: pool/universe/libb/libbytesize/python3-bytesize_2.5-1build1_amd64.deb
Size: 6148
MD5sum: f7adc0f516859fdcd68c67e8b46de56a
SHA1: b360f044f6c60f823f6858a8beb01750d5bfcaf3
SHA256: fbb7b0a8d94f99bb66426885b3c817be2fac7f9adbef6bedf8dc152f33f131c9
SHA512: c6c34cdec505057aa43f13fcc25cf0bc1a3bd9b19b6a7d85ae05b7cc1c4d57a7e6df967f9210695ca41888b6a9936fa01918dfc40ec134e106747332aa761fe3
Homepage: https://github.com/storaged-project/libbytesize
Description-en: Python 3 bindings for libbytesize
Many projects need to work with sizes in bytes (be it sizes of storage
space, memory,...) and all of them need to deal with the same issues
like:
.
* How to get a human-readable string for the given size?
* How to store the given size so that no significant information is lost?
* If we store the size in bytes, what if the given size gets over the
MAXUINT64 value? How to interpret sizes entered by users according
to their locale and typing conventions?
* How to deal with the decimal/binary units (MB vs. MiB) ambiguity?
.
This library aims to be as much generally usable as possible, small, fast and
be easily interfaced from other languages.
.
This package contains bindings for libbytesize in Python3.
Description-md5: e58316983f628d2eb571642ebf527a5b