How to Install and Uninstall python3-freezegun Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 14,2024

1. Install "python3-freezegun" package

This tutorial shows how to install python3-freezegun on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-freezegun

2. Uninstall "python3-freezegun" package

In this section, we are going to explain the necessary steps to uninstall python3-freezegun on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-freezegun package on Ubuntu 21.10 (Impish Indri)

Package: python3-freezegun
Architecture: all
Version: 0.3.15-1
Priority: optional
Section: universe/python
Source: freezegun
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Federico Ceratto
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 60
Depends: python3-dateutil, python3-six, python3:any
Filename: pool/universe/f/freezegun/python3-freezegun_0.3.15-1_all.deb
Size: 12840
MD5sum: aaba5941f9a2f76173ac7acedeb11296
SHA1: a017eee7289cab2084f4de14dad1ed3cf5be0b3d
SHA256: ea9a0a4cc075e0ce525693df1d9affe6ea229bcea1f98e772d3317c4251f7005
SHA512: 89dd18b1a061516785b2dc6a05ad179e22de0b320bb5b8e56000a4107cf9e9d840f8f7eeef78270181a7af762f3ff78b7c072376f75064238f43851e7635d4f8
Homepage: https://github.com/spulec/freezegun
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