How to Install and Uninstall python3-mock Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: November 21,2024

1. Install "python3-mock" package

Please follow the instructions below to install python3-mock on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install python3-mock

2. Uninstall "python3-mock" package

This is a short guide on how to uninstall python3-mock on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the python3-mock package on Ubuntu 22.10 (Kinetic Kudu)

Package: python3-mock
Architecture: all
Version: 4.0.3-3
Priority: extra
Section: universe/python
Source: python-mock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 369
Depends: python3-pbr (>= 1.3), python3:any
Suggests: python-mock-doc
Filename: pool/universe/p/python-mock/python3-mock_4.0.3-3_all.deb
Size: 60362
MD5sum: e8c37a3b97a97eb0f475d264197c6f6f
SHA1: dbf08df7bccba974a5f5168d18c0f8ec8808a4d5
SHA256: e6a2c05de0803f315a1e5674047977c93eebdd2dd37edac5f3cc39288ddfe32b
SHA512: 7719a8caabed6ee531e31566a6a7a427b44cc801f80c933fbae7a41512f7e5fdb1fdcf1926962f888eb741a2b563ae93e893640c995f576108367ecdc79054e8
Homepage: https://github.com/testing-cabal/mock
Description: Mocking and Testing Library (Python3 version)
Description-md5: 4e0c3a991e1f0679db23da5bd156bed7