How to Install and Uninstall python3-requests-mock Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 08,2024

1. Install "python3-requests-mock" package

This guide covers the steps necessary to install python3-requests-mock on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python3-requests-mock

2. Uninstall "python3-requests-mock" package

In this section, we are going to explain the necessary steps to uninstall python3-requests-mock on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python3-requests-mock package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python3-requests-mock
Architecture: all
Version: 1.6.0-2build1
Priority: optional
Section: universe/python
Source: python-requests-mock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 69
Depends: python3-requests, python3-six, python3:any
Filename: pool/universe/p/python-requests-mock/python3-requests-mock_1.6.0-2build1_all.deb
Size: 14820
MD5sum: adb8d26d8bd53f688b21892eae2e5380
SHA1: 3069f403a04c9557c89b6c80ddb0d63a5bad83aa
SHA256: 1c99349c0a102c6e5d6f4b4809ea95badf520a41ca1d2060fcdeb6010265144d
Homepage: https://github.com/jamielennox/requests-mock
Description: mock out responses from the requests package - Python 3.x
Description-md5: 3582655b7e0eebca757e0837c805df81