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

Last updated: December 28,2024

1. Install "python3-pexpect" package

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

$ sudo apt update $ sudo apt install python3-pexpect

2. Uninstall "python3-pexpect" package

Please follow the steps below to uninstall python3-pexpect on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: python3-pexpect
Architecture: all
Version: 4.6.0-1build1
Priority: optional
Section: python
Source: pexpect
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 193
Depends: python3-ptyprocess, python3:any
Suggests: python-pexpect-doc
Filename: pool/main/p/pexpect/python3-pexpect_4.6.0-1build1_all.deb
Size: 44616
MD5sum: 44f6fe1a6019b69614c1359dd88abd8f
SHA1: 6e568878adebec728fa9a7d39ce1a76f4747c4c0
SHA256: d47bb6b0f855341048b4605f7a60eac3d41d36ba8f0c352634504209b8c31432
Homepage: http://www.noah.org/wiki/Pexpect
Description: Python 3 module for automating interactive applications
Description-md5: 941a9df3cba3bf3600012debef545be6
Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop