How to Install and Uninstall python3-restrictedpython Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 22,2024

1. Install "python3-restrictedpython" package

This guide covers the steps necessary to install python3-restrictedpython on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-restrictedpython

2. Uninstall "python3-restrictedpython" package

Please follow the guidelines below to uninstall python3-restrictedpython on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-restrictedpython package on Ubuntu 21.10 (Impish Indri)

Package: python3-restrictedpython
Architecture: all
Version: 4.0~b3-2
Priority: optional
Section: universe/python
Source: restrictedpython
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 111
Depends: python3-pkg-resources, python3:any (>= 3.2~)
Filename: pool/universe/r/restrictedpython/python3-restrictedpython_4.0~b3-2_all.deb
Size: 23584
MD5sum: 47eb281c8db05fd02b5186330c3fa15e
SHA1: 29c56c6f091743309f82a27e29edbe3f104d1228
SHA256: 24602fca17711630a6d8e9af91beb542c202c8d5bf01908165b03bc451537ffc
SHA512: b6088c8b304b65f4c0719ca79709a2684e54c090f7f17b00b3117bb6a9a33f11702e5ef3354bdffb094ef472251dea9fc82486609421b86a4b69e53c149b14a9
Homepage: http://restrictedpython.readthedocs.io/en/latest/
Description-en: Restricted execution environment for Python 3
RestrictedPython is a tool that helps to define a subset of the Python
language which allows one to provide a program input into a trusted
environment. RestrictedPython is not a sandbox system or a secured
environment, but it helps to define a trusted environment and execute
untrusted code inside of it.
Description-md5: d01c8707557b5691c3bcdf45ae125c62