How to Install and Uninstall python2-colorlog Package on openSUSE Leap

Last updated: January 12,2025

1. Install "python2-colorlog" package

Please follow the guidelines below to install python2-colorlog on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-colorlog

2. Uninstall "python2-colorlog" package

This guide let you learn how to uninstall python2-colorlog on openSUSE Leap:

$ sudo zypper remove python2-colorlog

3. Information about the python2-colorlog package on openSUSE Leap

Information for package python2-colorlog:
-----------------------------------------
Repository : Main Repository
Name : python2-colorlog
Version : 4.1.0-bp153.1.28
Arch : x86_64
Vendor : openSUSE
Installed Size : 79,9 KiB
Installed : No
Status : not installed
Source package : python-colorlog-4.1.0-bp153.1.28.src
Summary : Log formatting with colors
Description :
colorlog.ColoredFormatter is a formatter for use with Python's logging module.
It allows colors to be placed in the format string, which is mostly useful
when paired with a StreamHandler that is outputting to a terminal.
This is accomplished by added a set of terminal color codes to the record
before it is used to format the string.