How to Install and Uninstall ptpython Package on Debian 12 (Bookworm)

Last updated: May 14,2024

1. Install "ptpython" package

This guide covers the steps necessary to install ptpython on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ptpython

2. Uninstall "ptpython" package

This tutorial shows how to uninstall ptpython on Debian 12 (Bookworm):

$ sudo apt remove ptpython $ sudo apt autoclean && sudo apt autoremove

3. Information about the ptpython package on Debian 12 (Bookworm)

Package: ptpython
Version: 3.0.22-2
Installed-Size: 258
Maintainer: Daniel Baumann
Architecture: all
Depends: python3-prompt-toolkit (>= 3.0.16), python3-appdirs, python3-importlib-metadata | python3 (>> 3.8), python3-jedi, python3-pygments, python3:any
Description: Alternative Python Prompt with auto-completion and syntax highlighting
Description-md5: 7c686b747a375a308336f5854d7e9ec5
Homepage: https://github.com/prompt-toolkit/ptpython
Section: python
Priority: optional
Filename: pool/main/p/ptpython/ptpython_3.0.22-2_all.deb
Size: 53848
MD5sum: ed574302f33d45cccd0f5a472f456350
SHA256: 2cf987229e59979f8eead55b90c380a5c8226ca9afc3f2ead14274873238261c