How To Install python3-colour on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-colour
on Rocky Linux 8.
What is python3-colour
Converts and manipulates common color representation (RGB, HSL, web, etc.) - Damn simple and pythonic way to manipulate color representation - Full conversion between RGB, HSL, 6-digit hex, 3-digit hex, human color - One object (Color) or bunch of single purpose function (rgb2hex, hsl2rgb, etc.) web format that use the smallest representation between 6-digit (e.g. #fa3b2c), 3-digit (e.g. #fbb), fully spelled color (e.g. white), following W3C color naming for compatible CSS or HTML color specifications. - smooth intuitive color scale generation choosing N color gradients. - can pick colors for you to identify objects of your application.
We can use yum
or dnf
to install python3-colour
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-colour.
Install python3-colour on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-colour
using dnf
by running the following command:
sudo dnf -y install python3-colour
Install python3-colour on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-colour
using yum
by running the following command:
sudo yum -y install python3-colour
How To Uninstall python3-colour on Rocky Linux 8
To uninstall only the python3-colour
package we can use the following command:
sudo dnf remove python3-colour
python3-colour Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/__pycache__/colour.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/__pycache__/colour.cpython-36.pyc
/usr/lib/python3.6/site-packages/colour-0.1.5-py3.6.egg-info
/usr/lib/python3.6/site-packages/colour-0.1.5-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/colour-0.1.5-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/colour-0.1.5-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/colour-0.1.5-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/colour-0.1.5-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/colour-0.1.5-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/colour.py
/usr/share/doc/python3-colour
/usr/share/doc/python3-colour/README.rst
/usr/share/doc/python3-colour/TODO.rst
/usr/share/licenses/python3-colour
/usr/share/licenses/python3-colour/LICENSE
References
Summary
In this tutorial we learn how to install python3-colour
on Rocky Linux 8 using yum and dnf.