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

Last updated: July 03,2024

1. Install "python-pytest" package

This is a short guide on how to install python-pytest on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-pytest

2. Uninstall "python-pytest" package

In this section, we are going to explain the necessary steps to uninstall python-pytest on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove python-pytest $ sudo apt autoclean && sudo apt autoremove

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

Package: python-pytest
Architecture: all
Version: 3.3.2-2
Priority: optional
Section: universe/python
Source: pytest
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 650
Depends: python-attr (>= 17.2.0), python-funcsigs, python-pkg-resources, python-pluggy (>= 0.5), python-py (>= 1.5.0), python-six (>= 1.10.0), python:any (<< 2.8), python:any (>= 2.7.5-5~)
Suggests: python-mock (>= 1.0.1)
Breaks: python-logilab-common (<< 1.3.0-1)
Replaces: python-logilab-common (<< 1.3.0-1)
Filename: pool/universe/p/pytest/python-pytest_3.3.2-2_all.deb
Size: 142380
MD5sum: 5e279498fcbd853284e73213ef6c4ac0
SHA1: 297915ff0734b761ce97418540e8057a356e07b4
SHA256: 91273d45c79fbd8195e821ea8d58350ba21f87fb124d1958db322222bf8e8238
Homepage: https://pytest.org/
Description: Simple, powerful testing in Python
Description-md5: 7753636c5bcf3a406292b2bf8357ba99
Supported: 3y