How to Install and Uninstall python-tzlocal Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 16,2024

1. Install "python-tzlocal" package

Please follow the guidance below to install python-tzlocal on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-tzlocal

2. Uninstall "python-tzlocal" package

In this section, we are going to explain the necessary steps to uninstall python-tzlocal on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-tzlocal package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-tzlocal
Architecture: all
Version: 1.5.1-1
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 77
Depends: python-tz, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-tzlocal/python-tzlocal_1.5.1-1_all.deb
Size: 14924
MD5sum: e1eb668768b764e71f4044140b9be95e
SHA1: 2ae201665f6ac7d32ea38747429fb92a2b268b9f
SHA256: 7dcd7d900dbbc015caa257ec069f4f10684f00d5db31e5cd108c094d14b5f8a3
Homepage: https://github.com/regebro/tzlocal
Description: tzinfo object for the local timezone
Description-md5: f3c81c339ba431b78b7cb7a6360715d4