How to Install and Uninstall python3-restrictedpython Package on Debian 12 (Bookworm)

Last updated: December 24,2024

1. Install "python3-restrictedpython" package

Please follow the guidance below to install python3-restrictedpython on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-restrictedpython

2. Uninstall "python3-restrictedpython" package

This tutorial shows how to uninstall python3-restrictedpython on Debian 12 (Bookworm):

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

3. Information about the python3-restrictedpython package on Debian 12 (Bookworm)

Package: python3-restrictedpython
Source: restrictedpython
Version: 4.0~b3-3
Installed-Size: 112
Maintainer: Debian Python Team
Architecture: all
Depends: python3-pkg-resources, python3:any
Description: Restricted execution environment for Python 3
Description-md5: d01c8707557b5691c3bcdf45ae125c62
Homepage: https://restrictedpython.readthedocs.io/en/latest/
Section: python
Priority: optional
Filename: pool/main/r/restrictedpython/python3-restrictedpython_4.0~b3-3_all.deb
Size: 25928
MD5sum: 34d9d93866c3245db9307bd0a09c67e6
SHA256: 8840794fb340cbb3ee48e78d53f403e1ef76a8711cfb6664da772f3a9ecbb5fa