How to Install and Uninstall python-coverage Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: June 22,2024

1. Install "python-coverage" package

Please follow the steps below to install python-coverage on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-coverage

2. Uninstall "python-coverage" package

Please follow the guidelines below to uninstall python-coverage on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python-coverage package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-coverage
Priority: optional
Section: universe/python
Installed-Size: 310
Maintainer: Ubuntu Developers
Original-Maintainer: Ben Finney
Architecture: amd64
Version: 3.7.1+dfsg.1-1ubuntu7
Depends: python-pkg-resources, python (>= 2.7), python (<< 2.8), libc6 (>= 2.4)
Recommends: libjs-jquery-hotkeys, libjs-jquery-isonscreen, libjs-jquery-tablesorter, libjs-jquery
Filename: pool/universe/p/python-coverage/python-coverage_3.7.1+dfsg.1-1ubuntu7_amd64.deb
Size: 66786
MD5sum: 092ccf154f89b8c5418a4173fb6c37ef
SHA1: 95840c32363f8006e116d460d1e0b8d6f3228509
SHA256: 483cf56b0ffc02cac04c5717091e4361e1d547e227482da9d880288b15303b4a
Description-en: code coverage tool for Python 2
The ‘coverage’ library measures which parts (statements) of a Python
program are executed while it is run. This is useful for testing:
those parts of a program that are not executed by the tests have not
been tested.
.
This package contains the Python version 2 ‘coverage’ library, and the
‘python-coverage’ program to perform and report coverage tests.
Description-md5: 14c3b431e2a6ada3274ee91e18a0b49c
Homepage: http://nedbatchelder.com/code/coverage/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu