How to Install and Uninstall python3-mock Package on Debian 10 (Buster)

Last updated: May 14,2024

1. Install "python3-mock" package

Please follow the guidance below to install python3-mock on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python3-mock

2. Uninstall "python3-mock" package

In this section, we are going to explain the necessary steps to uninstall python3-mock on Debian 10 (Buster):

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

3. Information about the python3-mock package on Debian 10 (Buster)

Package: python3-mock
Source: python-mock
Version: 2.0.0-4
Installed-Size: 293
Maintainer: Debian Python Modules Team
Architecture: all
Depends: python3-pbr (>= 1.3), python3-six (>= 1.9), python3:any
Suggests: python-mock-doc
Description: Mocking and Testing Library (Python3 version)
Description-md5: 4e0c3a991e1f0679db23da5bd156bed7
Homepage: https://github.com/testing-cabal/mock
Section: python
Priority: optional
Filename: pool/main/p/python-mock/python3-mock_2.0.0-4_all.deb
Size: 60316
MD5sum: 6599c50096efade60c96f7d6183333d8
SHA256: 92bc7e04bf0104f02fc663c2c6cb8795f3161350d3b97956b6b7d98c2d9894fc