How to Install and Uninstall python3-mock Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 16,2024

1. Install "python3-mock" package

In this section, we are going to explain the necessary steps to install python3-mock on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python3-mock

2. Uninstall "python3-mock" package

Please follow the steps below to uninstall python3-mock on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python3-mock package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python3-mock
Architecture: all
Version: 2.0.0-3
Priority: extra
Section: universe/python
Source: python-mock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 281
Depends: python3-pbr (>= 1.3), python3-six (>= 1.9), python3:any (>= 3.3.2-2~)
Suggests: python-mock-doc
Filename: pool/universe/p/python-mock/python3-mock_2.0.0-3_all.deb
Size: 47542
MD5sum: a5e72a5fb2075523517e7a11d34302d2
SHA1: bcc37d9ae37c27295342da0ccb888e701900ab06
SHA256: d3afab128db9845e1edf031605595a05b87b7410bad008e336187e40091202ea
Homepage: https://github.com/testing-cabal/mock
Description: Mocking and Testing Library (Python3 version)
Description-md5: 4e0c3a991e1f0679db23da5bd156bed7