How To Install python3-pastel on Fedora 36
Introduction
In this tutorial we learn how to install python3-pastel
on Fedora 36.
What is python3-pastel
Pastel is a simple library to help you colorize strings in your terminal. It comes bundled with predefined styles - info - comment - question - error Features - Use predefined styles or add you own. - Disable colors all together by calling with_colors(False). - Automatically disables colors if the output is not a TTY. - Used in cleo.
We can use yum
or dnf
to install python3-pastel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pastel.
Install python3-pastel on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-pastel
using dnf
by running the following command:
sudo dnf -y install python3-pastel
Install python3-pastel on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-pastel
using yum
by running the following command:
sudo yum -y install python3-pastel
How To Uninstall python3-pastel on Fedora 36
To uninstall only the python3-pastel
package we can use the following command:
sudo dnf remove python3-pastel
python3-pastel Package Contents on Fedora 36
/usr/lib/python3.10/site-packages/pastel
/usr/lib/python3.10/site-packages/pastel-0.2.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/pastel-0.2.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/pastel-0.2.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/pastel-0.2.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/pastel-0.2.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pastel/__init__.py
/usr/lib/python3.10/site-packages/pastel/__pycache__
/usr/lib/python3.10/site-packages/pastel/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pastel/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pastel/__pycache__/pastel.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pastel/__pycache__/pastel.cpython-310.pyc
/usr/lib/python3.10/site-packages/pastel/__pycache__/stack.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pastel/__pycache__/stack.cpython-310.pyc
/usr/lib/python3.10/site-packages/pastel/__pycache__/style.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pastel/__pycache__/style.cpython-310.pyc
/usr/lib/python3.10/site-packages/pastel/pastel.py
/usr/lib/python3.10/site-packages/pastel/stack.py
/usr/lib/python3.10/site-packages/pastel/style.py
/usr/share/doc/python3-pastel
/usr/share/doc/python3-pastel/README.rst
/usr/share/licenses/python3-pastel
/usr/share/licenses/python3-pastel/LICENSE
References
Summary
In this tutorial we learn how to install python3-pastel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).