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

Last updated: May 18,2024

1. Install "python3-bleach" package

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

$ sudo apt update $ sudo apt install python3-bleach

2. Uninstall "python3-bleach" package

Here is a brief guide to show you how to uninstall python3-bleach on Ubuntu 21.10 (Impish Indri):

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

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

Package: python3-bleach
Architecture: all
Version: 3.2.1-2.1
Priority: optional
Section: universe/python
Source: python-bleach
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 128
Depends: python3-packaging, python3-six (>= 1.9.0), python3-webencodings, python3:any, python3-html5lib (>= 1.0.1~)
Suggests: python-bleach-doc
Breaks: python3-readme-renderer (<< 24.0)
Filename: pool/universe/p/python-bleach/python3-bleach_3.2.1-2.1_all.deb
Size: 29436
MD5sum: 7334f9d917f14c0fb035173fc6d2534d
SHA1: 454b202c8c01315ac9654323d832b921004e1fd5
SHA256: ef19450aa8ccb05f9543f677e6729c5a70fa78b278c3bba13757691ba9081e2b
SHA512: 24696a8a4282f892bf09cc03cf9a82d53511d033c24dca70c5557bc92811e81065a43311f89eee4cef71b6ea911844a5f018fe60fee266e3fb9e1780f6828833
Homepage: https://github.com/jsocol/bleach/
Description-en: whitelist-based HTML-sanitizing library (Python 3)
Bleach is an HTML sanitizing library that escapes or strips markup and
attributes based on a white list. Bleach can also linkify text safely,
applying filters that Django's urlize filter cannot, and optionally setting
rel attributes, even on links already in the text.
.
Bleach is intended for sanitizing text from untrusted sources. If you find
yourself jumping through hoops to allow your site administrators to do lots of
things, you're probably outside the use cases. Either trust those users, or
don't.
.
Because it relies on html5lib, Bleach is as good as modern browsers at dealing
with weird, quirky HTML fragments. And any of Bleach's methods will fix
unbalanced or mis-nested tags.
.
This is the Python 3 version of the package.
Description-md5: 495f5f4007a392a9683867f5ec7d7416