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

Last updated: November 26,2024

1. Install "python3-rich" package

Please follow the instructions below to install python3-rich on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-rich

2. Uninstall "python3-rich" package

Learn how to uninstall python3-rich on Ubuntu 21.10 (Impish Indri):

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

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

Package: python3-rich
Architecture: all
Version: 9.11.0-1ubuntu1
Priority: optional
Section: universe/python
Source: rich
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sandro Tosi
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 806
Depends: python3-colorama (>= 0.4.0), python3-commonmark (>= 0.9.0), python3-pygments (>= 2.6.0), python3-typing-extensions (>= 3.7.4), python3:any
Filename: pool/universe/r/rich/python3-rich_9.11.0-1ubuntu1_all.deb
Size: 141308
MD5sum: 9cea14a7e2e396673ee731d986ab2461
SHA1: ccb60fe18dccea744465b47b5eaf7108bbce77f8
SHA256: 8390f9be0f7b4539925a88fea04bfd5f7e4996cb2204d36c1a9bdf55a0bd52eb
SHA512: 444bab511492a8e96a0955617b59aa0ceab1549eadd09a34d933fbebefa204cfc61a6e5160c29f1e46b0d237426b2e9a24f1df517bdec14509ee330c6dfe6222
Homepage: https://github.com/willmcgugan/rich
Description-en: render rich text, tables, progress bars, syntax highlighting, markdown and more
Rich is a Python library for rich text and beautiful formatting in the
terminal.
.
The Rich API makes it easy to add color and style to terminal output. Rich can
also render pretty tables, progress bars, markdown, syntax highlighted source
code, tracebacks, and more — out of the box.
.
Here's a list of the core functionalities of rich:
.
* to effortlessly add rich output to your application, you can import the rich
print method, which has the same signature as the builtin Python function
* Rich can be installed in the Python REPL, so that any data structures will
be pretty printed and highlighted
* for more control over rich terminal content, import and construct a Console
object. The Console object has a print method which has an intentionally
similar interface to the builtin print function
* to insert an emoji in to console output place the name between two colons
* Rich can render flexible tables with unicode box characters. There is a
large variety of formatting options for borders, styles, cell alignment etc
* Rich can render multiple flicker-free progress bars to track long-running
tasks.
* Rich can render content in neat columns with equal or optimal width.
* Rich can render markdown and does a reasonable job of translating the
formatting to the terminal
* Rich can render beautiful tracebacks which are easier to read and show more
code than standard Python tracebacks. You can set Rich as the default
traceback handler so all uncaught exceptions will be rendered by Rich.
Description-md5: 0de6cad197d4560bd282be425a011767