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

Last updated: May 14,2024

1. Install "python3-freezegun" package

Here is a brief guide to show you how to install python3-freezegun on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-freezegun

2. Uninstall "python3-freezegun" package

Please follow the instructions below to uninstall python3-freezegun on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python3-freezegun
Priority: optional
Section: universe/python
Installed-Size: 35
Maintainer: Ubuntu Developers
Original-Maintainer: Federico Ceratto
Architecture: all
Source: freezegun
Version: 0.3.5-2
Depends: python3-dateutil, python3-six, python3:any (>= 3.3.2-2~)
Filename: pool/universe/f/freezegun/python3-freezegun_0.3.5-2_all.deb
Size: 6200
MD5sum: 83417fc68cb56e9eab645da328dbde79
SHA1: ecbe017aaed736a93bcbd48f50538fd027532ec1
SHA256: 0fb38c84f23275b8f356328b246500dfc0a9f3ff88dd7b5c4c64ebdc1e971d04
Description-en: Python3 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: 89585db7e2a348374135be2fc48e7c8c
Homepage: https://github.com/spulec/freezegun
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu