How to Install and Uninstall python-pexpect Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "python-pexpect" package

Please follow the guidance below to install python-pexpect on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python-pexpect

2. Uninstall "python-pexpect" package

Please follow the step by step instructions below to uninstall python-pexpect on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python-pexpect package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python-pexpect
Architecture: all
Version: 4.6.0-1build1
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: 190
Depends: python-ptyprocess, python2:any (<< 2.8), python2:any (>= 2.7~)
Suggests: python-pexpect-doc
Filename: pool/universe/p/pexpect/python-pexpect_4.6.0-1build1_all.deb
Size: 43880
MD5sum: 296f93fa5f4f60f72ef3304ba14734a7
SHA1: b275e5c7499b5bda245a53ed15ed6c63cba403e1
SHA256: c488d4988e20bee19b535f138cfa71b6eba842d76d7f231dc2a1ada46566e399
Homepage: http://www.noah.org/wiki/Pexpect
Description: Python module for automating interactive applications
Description-md5: d65bfec864ae3e7ccf016394e866e099