How to Install and Uninstall python3-tzlocal Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 22,2024

1. Install "python3-tzlocal" package

Here is a brief guide to show you how to install python3-tzlocal on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install python3-tzlocal

2. Uninstall "python3-tzlocal" package

Here is a brief guide to show you how to uninstall python3-tzlocal on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the python3-tzlocal package on Ubuntu 20.10 (Groovy Gorilla)

Package: python3-tzlocal
Architecture: all
Version: 2.1~b1-2
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~b1-2_all.deb
Size: 16212
MD5sum: 9d40173d128a70440ec7ac0f274e9b97
SHA1: f3ba5c90a322439779b0b025ce40748eebc9f0fe
SHA256: ec1d1a9b6f5c18d64f51f2ff09257dfa443d0f876e5087314ed12c86207b9973
SHA512: 2f95c608556814454e7e40c670ae5ee3bf94cff70aa8a7063c6abcefbd79f260079a4f320ad63b8843dac5af57cd2b4cdf6bff02b5906c2a8ab181d97d02484f
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