How To Install python3-lit on Rocky Linux 8

In this tutorial we learn how to install python3-lit on Rocky Linux 8. python3-lit is LLVM lit test runner for Python 3

Introduction

In this tutorial we learn how to install python3-lit on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-lit.

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

sudo dnf -y install python3-lit

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

sudo yum -y install python3-lit

How To Uninstall python3-lit on Rocky Linux 8

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

sudo dnf remove python3-lit

python3-lit Package Contents on Rocky Linux 8

/usr/bin/lit
/usr/lib/python3.6/site-packages/lit
/usr/lib/python3.6/site-packages/lit-0.11.0.post1-py3.6.egg-info
/usr/lib/python3.6/site-packages/lit-0.11.0.post1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/lit-0.11.0.post1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/lit-0.11.0.post1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/lit-0.11.0.post1-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/lit-0.11.0.post1-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/lit-0.11.0.post1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/lit/BooleanExpression.py
/usr/lib/python3.6/site-packages/lit/LitConfig.py
/usr/lib/python3.6/site-packages/lit/LitTestCase.py
/usr/lib/python3.6/site-packages/lit/ProgressBar.py
/usr/lib/python3.6/site-packages/lit/ShCommands.py
/usr/lib/python3.6/site-packages/lit/ShUtil.py
/usr/lib/python3.6/site-packages/lit/Test.py
/usr/lib/python3.6/site-packages/lit/TestRunner.py
/usr/lib/python3.6/site-packages/lit/TestingConfig.py
/usr/lib/python3.6/site-packages/lit/__init__.py
/usr/lib/python3.6/site-packages/lit/__pycache__
/usr/lib/python3.6/site-packages/lit/__pycache__/BooleanExpression.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/BooleanExpression.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/LitConfig.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/LitConfig.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/LitTestCase.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/LitTestCase.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/ProgressBar.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/ProgressBar.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/ShCommands.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/ShCommands.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/ShUtil.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/ShUtil.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/Test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/Test.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/TestRunner.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/TestRunner.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/TestingConfig.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/TestingConfig.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/cl_arguments.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/cl_arguments.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/discovery.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/discovery.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/display.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/display.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/main.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/main.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/reports.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/reports.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/run.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/run.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/worker.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/__pycache__/worker.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/builtin_commands
/usr/lib/python3.6/site-packages/lit/builtin_commands/__init__.py
/usr/lib/python3.6/site-packages/lit/builtin_commands/__pycache__
/usr/lib/python3.6/site-packages/lit/builtin_commands/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/builtin_commands/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/builtin_commands/__pycache__/cat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/builtin_commands/__pycache__/cat.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/builtin_commands/__pycache__/diff.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/builtin_commands/__pycache__/diff.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/builtin_commands/cat.py
/usr/lib/python3.6/site-packages/lit/builtin_commands/diff.py
/usr/lib/python3.6/site-packages/lit/cl_arguments.py
/usr/lib/python3.6/site-packages/lit/discovery.py
/usr/lib/python3.6/site-packages/lit/display.py
/usr/lib/python3.6/site-packages/lit/formats
/usr/lib/python3.6/site-packages/lit/formats/__init__.py
/usr/lib/python3.6/site-packages/lit/formats/__pycache__
/usr/lib/python3.6/site-packages/lit/formats/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/formats/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/formats/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/formats/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/formats/__pycache__/googletest.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/formats/__pycache__/googletest.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/formats/__pycache__/shtest.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/formats/__pycache__/shtest.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/formats/base.py
/usr/lib/python3.6/site-packages/lit/formats/googletest.py
/usr/lib/python3.6/site-packages/lit/formats/shtest.py
/usr/lib/python3.6/site-packages/lit/llvm
/usr/lib/python3.6/site-packages/lit/llvm/__init__.py
/usr/lib/python3.6/site-packages/lit/llvm/__pycache__
/usr/lib/python3.6/site-packages/lit/llvm/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/llvm/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/llvm/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/llvm/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/llvm/__pycache__/subst.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lit/llvm/__pycache__/subst.cpython-36.pyc
/usr/lib/python3.6/site-packages/lit/llvm/config.py
/usr/lib/python3.6/site-packages/lit/llvm/subst.py
/usr/lib/python3.6/site-packages/lit/main.py
/usr/lib/python3.6/site-packages/lit/reports.py
/usr/lib/python3.6/site-packages/lit/run.py
/usr/lib/python3.6/site-packages/lit/util.py
/usr/lib/python3.6/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 Rocky Linux 8 using yum and dnf.