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

Last updated: May 18,2024

1. Install "python3-tzlocal" package

In this section, we are going to explain the necessary steps to install python3-tzlocal on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-tzlocal

2. Uninstall "python3-tzlocal" package

Please follow the steps below to uninstall python3-tzlocal on Ubuntu 21.10 (Impish Indri):

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

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

Package: python3-tzlocal
Architecture: all
Version: 2.1-1
Priority: optional
Section: universe/python
Source: python-tzlocal
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 78
Depends: python3-tz, python3:any
Filename: pool/universe/p/python-tzlocal/python3-tzlocal_2.1-1_all.deb
Size: 16284
MD5sum: dd12d8418cafd950bb507bee472967dc
SHA1: 628ee45ad2cea312518e59f696b1232c7e179106
SHA256: 9bbffdeefc4703b71273569867dbb86de6aab573374b43e8a228ad0ed23424b7
SHA512: 350ad652caeacfbfe89e2bf245d0ffd0e6d07adba31e9f1667e22ff8c613eeca256280797fbaecc79aabe8b98803b9e7e74f73e9eed33837731ce60aa48cdfb1
Homepage: https://github.com/regebro/tzlocal
Description-en: tzinfo object for the local timezone
This Python module returns a tzinfo object with the local timezone
information.
.
Example of usage:
.
>>> from tzlocal import get_localzone
>>> tz = get_localzone()
>>> tz

Description-md5: 072c13146bdfbc4f47dd1ca4ac702609