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

Last updated: December 23,2024

1. Install "python3-pexpect" package

This tutorial shows how to install python3-pexpect on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-pexpect

2. Uninstall "python3-pexpect" package

This tutorial shows how to uninstall python3-pexpect on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python3-pexpect
Priority: optional
Section: python
Installed-Size: 179
Maintainer: Ubuntu Developers
Original-Maintainer: Ganesan Rajagopal
Architecture: all
Source: pexpect
Version: 4.0.1-1
Depends: python3-ptyprocess, python3:any (>= 3.3.2-2~)
Suggests: python-pexpect-doc
Filename: pool/main/p/pexpect/python3-pexpect_4.0.1-1_all.deb
Size: 41174
MD5sum: 8db53b4e6b75589d4c679107a2807d2c
SHA1: 24ffea92920dc7400c80c52bff24aff7a8487c3a
SHA256: 763fb17dcc8757915da4901a05054d80f8bca84f0c1974fa190328f0699a5abf
Description-en: Python 3 module for automating interactive applications
Pexpect is a pure Python 3 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: 941a9df3cba3bf3600012debef545be6
Homepage: http://www.noah.org/wiki/Pexpect
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, kubuntu-desktop, edubuntu-desktop, edubuntu-usb, xubuntu-core, xubuntu-desktop, mythbuntu-desktop, lubuntu-core, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop