How to Install and Uninstall python-mock Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 26,2024
1. Install "python-mock" package
Please follow the instructions below to install python-mock on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
python-mock
Copied
2. Uninstall "python-mock" package
Please follow the steps below to uninstall python-mock on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
python-mock
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python-mock package on Ubuntu 20.04 LTS (Focal Fossa)
Package: python-mock
Architecture: all
Version: 3.0.5-1build1
Priority: extra
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 111
Depends: python-funcsigs (>= 1), python-pbr (>= 1.3), python-six, python2:any (<< 2.8), python2:any (>= 2.7~)
Suggests: python-mock-doc
Filename: pool/universe/p/python-mock/python-mock_3.0.5-1build1_all.deb
Size: 25468
MD5sum: 4658df0df389377f95c77957935399e8
SHA1: 76c33ea922f568889f6c2813b3c7a07c9b917d81
SHA256: 27b4d537ac0eab1020aa96b294f183862ef56061457788091b7d08c501512a3a
Homepage: https://github.com/testing-cabal/mock
Description: Mocking and Testing Library
Description-md5: 574e60a9a54d2e566a980b7be2daf1a8
Architecture: all
Version: 3.0.5-1build1
Priority: extra
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 111
Depends: python-funcsigs (>= 1), python-pbr (>= 1.3), python-six, python2:any (<< 2.8), python2:any (>= 2.7~)
Suggests: python-mock-doc
Filename: pool/universe/p/python-mock/python-mock_3.0.5-1build1_all.deb
Size: 25468
MD5sum: 4658df0df389377f95c77957935399e8
SHA1: 76c33ea922f568889f6c2813b3c7a07c9b917d81
SHA256: 27b4d537ac0eab1020aa96b294f183862ef56061457788091b7d08c501512a3a
Homepage: https://github.com/testing-cabal/mock
Description: Mocking and Testing Library
Description-md5: 574e60a9a54d2e566a980b7be2daf1a8