How To Install python3-simpleline on Rocky Linux 8

In this tutorial we learn how to install python3-simpleline on Rocky Linux 8. python3-simpleline is A Python3 library for creating text UI

Introduction

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

What is python3-simpleline

Simpleline is a Python3 library for creating text UI. It is designed to be used with line-based machines and tools (e.g. serial console) so that every new line is appended to the bottom of the screen. Printed lines are never rewritten!

We can use yum or dnf to install python3-simpleline on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-simpleline.

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

sudo dnf -y install python3-simpleline

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

sudo yum -y install python3-simpleline

How To Uninstall python3-simpleline on Rocky Linux 8

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

sudo dnf remove python3-simpleline

python3-simpleline Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/simpleline
/usr/lib/python3.6/site-packages/simpleline-1.1.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/simpleline/__init__.py
/usr/lib/python3.6/site-packages/simpleline/__pycache__
/usr/lib/python3.6/site-packages/simpleline/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/__pycache__/errors.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/__pycache__/global_configuration.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/__pycache__/global_configuration.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/__pycache__/logging.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/__pycache__/logging.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/errors.py
/usr/lib/python3.6/site-packages/simpleline/event_loop
/usr/lib/python3.6/site-packages/simpleline/event_loop/__init__.py
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/event_queue.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/event_queue.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/glib_event_loop.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/glib_event_loop.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/main_loop.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/main_loop.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/signals.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/signals.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/ticket_machine.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/__pycache__/ticket_machine.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/event_loop/event_queue.py
/usr/lib/python3.6/site-packages/simpleline/event_loop/glib_event_loop.py
/usr/lib/python3.6/site-packages/simpleline/event_loop/main_loop.py
/usr/lib/python3.6/site-packages/simpleline/event_loop/signals.py
/usr/lib/python3.6/site-packages/simpleline/event_loop/ticket_machine.py
/usr/lib/python3.6/site-packages/simpleline/global_configuration.py
/usr/lib/python3.6/site-packages/simpleline/input
/usr/lib/python3.6/site-packages/simpleline/input/__init__.py
/usr/lib/python3.6/site-packages/simpleline/input/__pycache__
/usr/lib/python3.6/site-packages/simpleline/input/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/input/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/input/__pycache__/input_handler.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/input/__pycache__/input_handler.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/input/__pycache__/input_threading.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/input/__pycache__/input_threading.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/input/input_handler.py
/usr/lib/python3.6/site-packages/simpleline/input/input_threading.py
/usr/lib/python3.6/site-packages/simpleline/logging.py
/usr/lib/python3.6/site-packages/simpleline/render
/usr/lib/python3.6/site-packages/simpleline/render/__init__.py
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/adv_widgets.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/adv_widgets.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/containers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/containers.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/prompt.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/prompt.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/screen_handler.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/screen_handler.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/screen_scheduler.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/screen_scheduler.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/screen_stack.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/screen_stack.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/widgets.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/__pycache__/widgets.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/adv_widgets.py
/usr/lib/python3.6/site-packages/simpleline/render/containers.py
/usr/lib/python3.6/site-packages/simpleline/render/prompt.py
/usr/lib/python3.6/site-packages/simpleline/render/screen
/usr/lib/python3.6/site-packages/simpleline/render/screen/__init__.py
/usr/lib/python3.6/site-packages/simpleline/render/screen/__pycache__
/usr/lib/python3.6/site-packages/simpleline/render/screen/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/screen/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/screen/__pycache__/input_manager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/screen/__pycache__/input_manager.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/screen/__pycache__/signal_handler.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/render/screen/__pycache__/signal_handler.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/render/screen/input_manager.py
/usr/lib/python3.6/site-packages/simpleline/render/screen/signal_handler.py
/usr/lib/python3.6/site-packages/simpleline/render/screen_handler.py
/usr/lib/python3.6/site-packages/simpleline/render/screen_scheduler.py
/usr/lib/python3.6/site-packages/simpleline/render/screen_stack.py
/usr/lib/python3.6/site-packages/simpleline/render/widgets.py
/usr/lib/python3.6/site-packages/simpleline/utils
/usr/lib/python3.6/site-packages/simpleline/utils/__init__.py
/usr/lib/python3.6/site-packages/simpleline/utils/__pycache__
/usr/lib/python3.6/site-packages/simpleline/utils/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/utils/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/utils/__pycache__/i18n.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/simpleline/utils/__pycache__/i18n.cpython-36.pyc
/usr/lib/python3.6/site-packages/simpleline/utils/i18n.py
/usr/share/doc/python3-simpleline
/usr/share/doc/python3-simpleline/ChangeLog
/usr/share/doc/python3-simpleline/README.md
/usr/share/licenses/python3-simpleline
/usr/share/licenses/python3-simpleline/COPYING
/usr/share/locale/ca/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/cs/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/da/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/en_GB/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/es/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/fr/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/ja/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/ko/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/lt/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/pl/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/pt_BR/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/sk/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/sv/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/tr/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/uk/LC_MESSAGES/python-simpleline.mo
/usr/share/locale/zh_CN/LC_MESSAGES/python-simpleline.mo

References

Summary

In this tutorial we learn how to install python3-simpleline on Rocky Linux 8 using yum and dnf.