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

Last updated: November 22,2024

1. Install "python-requests-mock" package

Please follow the guidance below to install python-requests-mock on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "python-requests-mock" package

This tutorial shows how to uninstall python-requests-mock on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: python-requests-mock
Architecture: all
Version: 1.3.0-3
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 128
Depends: python-requests, python-six, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-requests-mock/python-requests-mock_1.3.0-3_all.deb
Size: 20528
MD5sum: 838d5addb923dc46b84e9c9500776629
SHA1: 75c0eb2303751e1b16d175a588c851b9940e7617
SHA256: 8a5fa1786338d3517f00f8b7c631579cedb12717dd6da291f1758ec602197e7f
Homepage: https://github.com/jamielennox/requests-mock
Description: mock out responses from the requests package - Python 2.x
Description-md5: a8300c08949c57b60c3077d71822a644