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

Last updated: November 24,2024

1. Install "python-pretend" package

In this section, we are going to explain the necessary steps to install python-pretend on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-pretend

2. Uninstall "python-pretend" package

This guide let you learn how to uninstall python-pretend on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-pretend
Priority: optional
Section: universe/python
Installed-Size: 30
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 1.0.8-2
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-pretend/python-pretend_1.0.8-2_all.deb
Size: 6074
MD5sum: da00374ddfb45ba12314c3fabbf0cf5e
SHA1: 3d377e722cee27f524638eb6f5ebaae971211e35
SHA256: f2d044494f03079ce9ffee8589ba4d9d9b0f794d019af59045ca7ec64d983bb4
Description-en: Python library for stubbing (Python 2)
Pretend is a library to make stubbing with Python easier.
.
Stubbing is a technique for writing tests. You may hear the term mixed up with
mocks, fakes, or doubles. Basically a stub is an object that returns pre-canned
responses, rather than doing any computation.
.
This package contains the Python 2 version of pretend.
Description-md5: 5c420bfdf69a405abb2ea4ceaf23533b
Homepage: https://github.com/alex/pretend
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu