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

Last updated: May 17,2024

1. Install "python-prompt-toolkit" package

Please follow the steps below to install python-prompt-toolkit on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-prompt-toolkit

2. Uninstall "python-prompt-toolkit" package

This is a short guide on how to uninstall python-prompt-toolkit on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove python-prompt-toolkit $ sudo apt autoclean && sudo apt autoremove

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

Package: python-prompt-toolkit
Architecture: all
Version: 1.0.15-1
Priority: optional
Section: universe/python
Source: prompt-toolkit
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 904
Depends: python-six (>= 1.9.0), python-wcwidth, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Recommends: python-pygments
Filename: pool/universe/p/prompt-toolkit/python-prompt-toolkit_1.0.15-1_all.deb
Size: 162504
MD5sum: a9ee4b590563625a3b607dea944da242
SHA1: 1df9f01c7958d5cd96120d2ad71f8d5a0c95f963
SHA256: 720c811b83020efb6a3b67df45314a4808400bfbc27114804c720cd70256701f
Homepage: https://github.com/jonathanslenders/python-prompt-toolkit
Description: library for building interactive command lines (Python 2)
Description-md5: 4699fbb7a58b29f84344671813672ab5