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

Last updated: December 25,2024

1. Install "python-pexpect" package

This guide covers the steps necessary to install python-pexpect on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-pexpect

2. Uninstall "python-pexpect" package

This guide covers the steps necessary to uninstall python-pexpect on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-pexpect
Priority: optional
Section: universe/python
Installed-Size: 176
Maintainer: Ubuntu Developers
Original-Maintainer: Ganesan Rajagopal
Architecture: all
Source: pexpect
Version: 4.0.1-1
Depends: python-ptyprocess, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Suggests: python-pexpect-doc
Filename: pool/universe/p/pexpect/python-pexpect_4.0.1-1_all.deb
Size: 40526
MD5sum: 7380a54bc7babb51d7460596327b0c62
SHA1: f22f0d660ab9cfb8f7d45c618bc242ce62855c0a
SHA256: 6531af3e8ca259df6267ee8449617b79443bb9f74ab0ea5a7db656d532e92c35
Description-en: Python module for automating interactive applications
Pexpect is a pure Python module for spawning child applications;
controlling them; and responding to expected patterns in their
output. Pexpect works like Don Libes' Expect. Pexpect allows your
script to spawn a child application and control it as if a human were
typing commands.
Description-md5: d65bfec864ae3e7ccf016394e866e099
Homepage: http://www.noah.org/wiki/Pexpect
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu