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

Last updated: September 20,2024

1. Install "python-mock" package

Please follow the instructions below to install python-mock on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python-mock

2. Uninstall "python-mock" package

Please follow the guidance below to uninstall python-mock on Debian 10 (Buster):

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

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

Package: python-mock
Version: 2.0.0-4
Installed-Size: 293
Maintainer: Debian Python Modules Team
Architecture: all
Depends: python-funcsigs (>= 1), python-pbr (>= 1.3), python-six (>= 1.9), python:any (<< 2.8), python:any (>= 2.7~)
Suggests: python-mock-doc
Description: Mocking and Testing Library
Description-md5: 574e60a9a54d2e566a980b7be2daf1a8
Homepage: https://github.com/testing-cabal/mock
Section: python
Priority: optional
Filename: pool/main/p/python-mock/python-mock_2.0.0-4_all.deb
Size: 60208
MD5sum: 4363b85c6d99619c4aeb3f3fed20c387
SHA256: 80d8a56e31c1c0c05e2b904f5db204d78d0a41f0d5916bd20c9db70d5023c2f9