How to Install and Uninstall python-restrictedpython Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 22,2024

1. Install "python-restrictedpython" package

This guide covers the steps necessary to install python-restrictedpython on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-restrictedpython

2. Uninstall "python-restrictedpython" package

This guide covers the steps necessary to uninstall python-restrictedpython on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python-restrictedpython package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-restrictedpython
Priority: extra
Section: universe/python
Installed-Size: 187
Maintainer: Ubuntu Developers
Original-Maintainer: Gediminas Paulauskas
Architecture: all
Source: restrictedpython
Version: 3.6.0-0ubuntu4
Depends: python (>= 2.7.1-0ubuntu2), python (<< 2.8), python-pkg-resources
Conflicts: zope3
Filename: pool/universe/r/restrictedpython/python-restrictedpython_3.6.0-0ubuntu4_all.deb
Size: 36376
MD5sum: 90ed7cd5448adee5c76e814de7f4fb6a
SHA1: bf851944246d5aa1a4589b01ec39ab3bc0b2a5c6
SHA256: 9394e3b66301d29238eb622345a9d9f5b816e34a38e16a918ecc3c997f014a97
Description-en: Restricted execution environment for Python
RestrictedPython provides a restricted execution environment for Python,
e.g. for running untrusted code.
Description-md5: 0aadf60d2c524472c7a45f684d818645
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu