How To Install python3-ansi on Fedora 36
Introduction
In this tutorial we learn how to install python3-ansi
on Fedora 36.
What is python3-ansi
Various ANSI escape codes, used in moving the cursor in a text console or rendering colored text with Python 3.
We can use yum
or dnf
to install python3-ansi
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-ansi.
Install python3-ansi 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-ansi
using dnf
by running the following command:
sudo dnf -y install python3-ansi
Install python3-ansi 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-ansi
using yum
by running the following command:
sudo yum -y install python3-ansi
How To Uninstall python3-ansi on Fedora 36
To uninstall only the python3-ansi
package we can use the following command:
sudo dnf remove python3-ansi
python3-ansi Package Contents on Fedora 36
/usr/lib/python3.10/site-packages/ansi
/usr/lib/python3.10/site-packages/ansi-0.1.3-py3.10.egg-info
/usr/lib/python3.10/site-packages/ansi/__init__.py
/usr/lib/python3.10/site-packages/ansi/__pycache__
/usr/lib/python3.10/site-packages/ansi/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/__pycache__/_compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/__pycache__/_compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/__pycache__/color.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/__pycache__/color.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/__pycache__/cursor.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/__pycache__/cursor.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/__pycache__/sequence.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/__pycache__/sequence.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/_compat.py
/usr/lib/python3.10/site-packages/ansi/color.py
/usr/lib/python3.10/site-packages/ansi/colour
/usr/lib/python3.10/site-packages/ansi/colour/__init__.py
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/bg.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/bg.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/fg.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/fg.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/fx.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/fx.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/rgb.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansi/colour/__pycache__/rgb.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansi/colour/base.py
/usr/lib/python3.10/site-packages/ansi/colour/bg.py
/usr/lib/python3.10/site-packages/ansi/colour/fg.py
/usr/lib/python3.10/site-packages/ansi/colour/fx.py
/usr/lib/python3.10/site-packages/ansi/colour/rgb.py
/usr/lib/python3.10/site-packages/ansi/cursor.py
/usr/lib/python3.10/site-packages/ansi/sequence.py
/usr/share/doc/python3-ansi
/usr/share/doc/python3-ansi/README.md
/usr/share/licenses/python3-ansi
/usr/share/licenses/python3-ansi/LICENSE.md
References
Summary
In this tutorial we learn how to install python3-ansi
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).