How to Install and Uninstall python-freezegun Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 27,2024

1. Install "python-freezegun" package

Please follow the guidelines below to install python-freezegun on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-freezegun

2. Uninstall "python-freezegun" package

In this section, we are going to explain the necessary steps to uninstall python-freezegun on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python-freezegun package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-freezegun
Priority: optional
Section: universe/python
Installed-Size: 38
Maintainer: Ubuntu Developers
Original-Maintainer: Federico Ceratto
Architecture: all
Source: freezegun
Version: 0.3.5-2
Provides: python2.7-freezegun
Depends: python-dateutil, python-six, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/f/freezegun/python-freezegun_0.3.5-2_all.deb
Size: 6958
MD5sum: c833a376306343b806f335ee18a8bd7b
SHA1: 676693bf94c85c8919127500936390e81e21f169
SHA256: 9684ade0d4c1283a72af062d6aea562cb6dc32722f4402247070a5a17cd13e91
Description-en: Python library to mock the datetime module in unit testing
FreezeGun allows easy mocking of the datetime module by freezing the return
value of the methods datetime.datetime.now(), datetime.datetime.utcnow(),
datetime.date.today(), and time.time() to a fixed point in time. Use it
in unit testing to make the tests deterministic and time-independent.
Description-md5: af7e43e9e97a111b1e92a37da4bef6cd
Homepage: https://github.com/spulec/freezegun
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu