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

Last updated: May 21,2024

1. Install "python-contract" package

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

$ sudo apt update $ sudo apt install python-contract

2. Uninstall "python-contract" package

This is a short guide on how to uninstall python-contract on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: python-contract
Architecture: all
Version: 1.4-4
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian QA Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 147
Depends: python (>= 2.7), python (<< 2.8)
Filename: pool/universe/p/python-contract/python-contract_1.4-4_all.deb
Size: 27198
MD5sum: f29bfbdf94850642f778feea13725fec
SHA1: 13e35f9786ee8929232a2329d12ca8fea950a1f8
SHA256: e99b7e8b864229380fd96528d9eefef3770664652cf0588b9c22e3a686e345ab
Homepage: http://www.wayforward.net/pycontract/
Description: Programming by contract for Python
Description-md5: 47c1b509ceffaa4bd200d5881b030c48