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

Last updated: November 26,2024

1. Install "python-pexpect" package

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

$ sudo apt update $ sudo apt install python-pexpect

2. Uninstall "python-pexpect" package

Please follow the instructions below to uninstall python-pexpect on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: python-pexpect
Architecture: all
Version: 4.2.1-1
Priority: optional
Section: universe/python
Source: pexpect
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 182
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.2.1-1_all.deb
Size: 41746
MD5sum: 76b94dff02d80764ee2c73d21f1efe34
SHA1: c82243c1bd960e0e54ada4e9bcfe269d3a5685f0
SHA256: 88167c90855ce2944bbcf8e046221fe77a256f60f5579cb12774d2107d10afd5
Homepage: http://www.noah.org/wiki/Pexpect
Description: Python module for automating interactive applications
Description-md5: d65bfec864ae3e7ccf016394e866e099