How to Install and Uninstall python-pytest Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 29,2024

1. Install "python-pytest" package

Please follow the guidance below to install python-pytest on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python-pytest

2. Uninstall "python-pytest" package

Learn how to uninstall python-pytest on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python-pytest package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python-pytest
Architecture: all
Version: 4.6.9-1
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: 823
Depends: python-attr (>= 17.4.0), python-funcsigs, python-more-itertools, python-pathlib2 (>= 2.2.1), python-pkg-resources, python-pluggy (>= 0.12), python-py (>= 1.5.0), python-atomicwrites, python-packaging, python-six (>= 1.10.0), python-wcwidth, python2:any (<< 2.8), python2:any (>= 2.7~)
Suggests: python-mock
Breaks: python-flaky (<< 3.6.1-1~), python-pytest-cov (<< 2.7.1-1~), python-pytest-mock (<< 1.10.4-1~), python-pytest-xdist (<< 1.29.0-1~), python-pytest-xvfb (<< 1.2.0-1~)
Filename: pool/universe/p/pytest/python-pytest_4.6.9-1_all.deb
Size: 177716
MD5sum: 80b6bb88635b6d0c9b7db758285a9fa3
SHA1: 052ca0f20fc146bacd683afa9f131cfe88bd7d98
SHA256: ed894b9c1e9c502c1d2b6cb6c8e3ae3248c6a496b1f0b8a96e6753d9b59b6eed
Homepage: https://pytest.org/
Description: Simple, powerful testing in Python
Description-md5: 7753636c5bcf3a406292b2bf8357ba99