< Home - < Back

python-tzlocal


Information about the package, python-tzlocal, which is shipped with common Linux distributions. The python-tzlocal package is designed for, A Python module that tries to figure out what your local timezone.


Package Name:

python-tzlocal

Summary:

A Python module that tries to figure out what your local timezone

Description:

This Python module returns a tzinfo object with the local timezone information. It requires pytz, and returns pytz tzinfo objects. This module attempts to fix a glaring hole in pytz, that there is no way to get the local timezone information, unless you know the zoneinfo name.

Architecture:

noarch

Version:

1.1.2

Release:

4.el6

Size:

26 k

Repository:

epel

From Repository:

Licence:

CC0



Handy Yum Commands for python-tzlocal


Control the python-tzlocal package with the following handy commands outlined below.


Command

Description of Command

yum install python-tzlocal

This command will install python-tzlocal on the server.

yum remove python-tzlocal

This command will un-install python-tzlocal on the server. When you run this command, you will be asked if you are sure that you want to remove python-tzlocal, so you have to manually confirm that you want to do this.

yum -y remove python-tzlocal

This command will un-install python-tzlocal on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-tzlocal when using the -y flag.

yum update python-tzlocal

This command will update python-tzlocal to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-tzlocal, so you have to manually confirm that you want to do this.

yum -y update python-tzlocal

This command will update python-tzlocal to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-tzlocal when using the -y flag.

yum info python-tzlocal

This command will show you core information about the python-tzlocal package.

yum deplist python-tzlocal

This command will show you the dependencies for python-tzlocal. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-tzlocal

This command will check if there is an update waiting on python-tzlocal. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.