How To Install python3-lit on Fedora 36

In this tutorial we learn how to install python3-lit in Fedora 36. python3-lit is LLVM lit test runner for Python 3

Introduction

In this tutorial we learn how to install python3-lit on Fedora 36.

What is python3-lit

lit is a tool used by the LLVM project for executing its test suites.

We can use yum or dnf to install python3-lit on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-lit.

Install python3-lit 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-lit using dnf by running the following command:

sudo dnf -y install python3-lit

Install python3-lit 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-lit using yum by running the following command:

sudo yum -y install python3-lit

How To Uninstall python3-lit on Fedora 36

To uninstall only the python3-lit package we can use the following command:

sudo dnf remove python3-lit

python3-lit Package Contents on Fedora 36

/usr/bin/lit
/usr/lib/python3.10/site-packages/lit
/usr/lib/python3.10/site-packages/lit-14.0.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/lit-14.0.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/lit-14.0.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/lit-14.0.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/lit-14.0.0-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/lit-14.0.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/lit-14.0.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/lit/BooleanExpression.py
/usr/lib/python3.10/site-packages/lit/LitConfig.py
/usr/lib/python3.10/site-packages/lit/LitTestCase.py
/usr/lib/python3.10/site-packages/lit/ProgressBar.py
/usr/lib/python3.10/site-packages/lit/ShCommands.py
/usr/lib/python3.10/site-packages/lit/ShUtil.py
/usr/lib/python3.10/site-packages/lit/Test.py
/usr/lib/python3.10/site-packages/lit/TestRunner.py
/usr/lib/python3.10/site-packages/lit/TestTimes.py
/usr/lib/python3.10/site-packages/lit/TestingConfig.py
/usr/lib/python3.10/site-packages/lit/__init__.py
/usr/lib/python3.10/site-packages/lit/__pycache__
/usr/lib/python3.10/site-packages/lit/__pycache__/BooleanExpression.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/BooleanExpression.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/LitConfig.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/LitConfig.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/LitTestCase.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/LitTestCase.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/ProgressBar.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/ProgressBar.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/ShCommands.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/ShCommands.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/ShUtil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/ShUtil.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/Test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/Test.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/TestRunner.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/TestRunner.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/TestTimes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/TestTimes.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/TestingConfig.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/TestingConfig.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/cl_arguments.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/cl_arguments.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/discovery.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/discovery.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/display.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/display.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/reports.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/reports.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/run.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/run.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/worker.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/__pycache__/worker.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/builtin_commands
/usr/lib/python3.10/site-packages/lit/builtin_commands/__init__.py
/usr/lib/python3.10/site-packages/lit/builtin_commands/__pycache__
/usr/lib/python3.10/site-packages/lit/builtin_commands/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/builtin_commands/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/builtin_commands/__pycache__/cat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/builtin_commands/__pycache__/cat.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/builtin_commands/__pycache__/diff.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/builtin_commands/__pycache__/diff.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/builtin_commands/cat.py
/usr/lib/python3.10/site-packages/lit/builtin_commands/diff.py
/usr/lib/python3.10/site-packages/lit/cl_arguments.py
/usr/lib/python3.10/site-packages/lit/discovery.py
/usr/lib/python3.10/site-packages/lit/display.py
/usr/lib/python3.10/site-packages/lit/formats
/usr/lib/python3.10/site-packages/lit/formats/__init__.py
/usr/lib/python3.10/site-packages/lit/formats/__pycache__
/usr/lib/python3.10/site-packages/lit/formats/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/formats/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/formats/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/formats/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/formats/__pycache__/googletest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/formats/__pycache__/googletest.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/formats/__pycache__/shtest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/formats/__pycache__/shtest.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/formats/base.py
/usr/lib/python3.10/site-packages/lit/formats/googletest.py
/usr/lib/python3.10/site-packages/lit/formats/shtest.py
/usr/lib/python3.10/site-packages/lit/llvm
/usr/lib/python3.10/site-packages/lit/llvm/__init__.py
/usr/lib/python3.10/site-packages/lit/llvm/__pycache__
/usr/lib/python3.10/site-packages/lit/llvm/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/llvm/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/llvm/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/llvm/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/llvm/__pycache__/subst.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/lit/llvm/__pycache__/subst.cpython-310.pyc
/usr/lib/python3.10/site-packages/lit/llvm/config.py
/usr/lib/python3.10/site-packages/lit/llvm/subst.py
/usr/lib/python3.10/site-packages/lit/main.py
/usr/lib/python3.10/site-packages/lit/reports.py
/usr/lib/python3.10/site-packages/lit/run.py
/usr/lib/python3.10/site-packages/lit/util.py
/usr/lib/python3.10/site-packages/lit/worker.py
/usr/share/doc/python3-lit
/usr/share/doc/python3-lit/README.txt
/usr/share/licenses/python3-lit
/usr/share/licenses/python3-lit/LICENSE.TXT

References

Summary

In this tutorial we learn how to install python3-lit on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).