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

Last updated: May 15,2024

1. Install "python-colorlog" package

Please follow the steps below to install python-colorlog on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-colorlog

2. Uninstall "python-colorlog" package

This guide let you learn how to uninstall python-colorlog on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-colorlog
Priority: optional
Section: universe/python
Installed-Size: 66
Maintainer: Ubuntu Developers
Original-Maintainer: Philipp Huebner
Architecture: all
Version: 2.6.0-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-colorlog/python-colorlog_2.6.0-1_all.deb
Size: 10726
MD5sum: 7d4562884621b41a79e85ffb6375672b
SHA1: e34aa596819eacfcd46670b0c27777d6806055c7
SHA256: 97b15bab7e1673b44faab0526f630e09ffb9803d21984d42640735875c698779
Description-en: formatter to use with the logging module of Python 2
python-colorlog 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 adding a set of terminal color codes to the
record before it is used to format the string.
This is the Python 2 version.
Description-md5: 5d72e81cf19105438fbea7d804100ee3
Homepage: https://github.com/borntyping/python-colorlog
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu