How To Install python-urwid.x86_64 on Amazon Linux 2

In this tutorial we learn how to install python-urwid.x86_64 in Amazon Linux 2. python-urwid.x86_64 is Console user interface library

Introduction

In this tutorial we learn how to install python-urwid.x86_64 on Amazon Linux 2.

What is python-urwid.x86_64

Urwid is a Python library for making text console applications. It has many features including fluid interface resizing, support for UTF-8 and CJK encodings, standard and custom text layout modes, simple markup for setting text attributes, and a powerful, dynamic list box that handles a mix of widget types. It is flexible, modular, and leaves the developer in control.

We can use yum to install python-urwid.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-urwid.x86_64.

Install python-urwid.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python-urwid.x86_64 using yum by running the following command:

sudo yum -y install python-urwid.x86_64

How To Uninstall python-urwid.x86_64 on Amazon Linux 2

To uninstall only the python-urwid.x86_64 package we can use the following command:

sudo yum remove python-urwid.x86_64

python-urwid.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/urwid
/usr/lib64/python2.7/site-packages/urwid-1.1.1-py2.7.egg-info
/usr/lib64/python2.7/site-packages/urwid-1.1.1-py2.7.egg-info/PKG-INFO
/usr/lib64/python2.7/site-packages/urwid-1.1.1-py2.7.egg-info/SOURCES.txt
/usr/lib64/python2.7/site-packages/urwid-1.1.1-py2.7.egg-info/dependency_links.txt
/usr/lib64/python2.7/site-packages/urwid-1.1.1-py2.7.egg-info/not-zip-safe
/usr/lib64/python2.7/site-packages/urwid-1.1.1-py2.7.egg-info/top_level.txt
/usr/lib64/python2.7/site-packages/urwid/__init__.py
/usr/lib64/python2.7/site-packages/urwid/__init__.pyc
/usr/lib64/python2.7/site-packages/urwid/__init__.pyo
/usr/lib64/python2.7/site-packages/urwid/canvas.py
/usr/lib64/python2.7/site-packages/urwid/canvas.pyc
/usr/lib64/python2.7/site-packages/urwid/canvas.pyo
/usr/lib64/python2.7/site-packages/urwid/command_map.py
/usr/lib64/python2.7/site-packages/urwid/command_map.pyc
/usr/lib64/python2.7/site-packages/urwid/command_map.pyo
/usr/lib64/python2.7/site-packages/urwid/compat.py
/usr/lib64/python2.7/site-packages/urwid/compat.pyc
/usr/lib64/python2.7/site-packages/urwid/compat.pyo
/usr/lib64/python2.7/site-packages/urwid/container.py
/usr/lib64/python2.7/site-packages/urwid/container.pyc
/usr/lib64/python2.7/site-packages/urwid/container.pyo
/usr/lib64/python2.7/site-packages/urwid/curses_display.py
/usr/lib64/python2.7/site-packages/urwid/curses_display.pyc
/usr/lib64/python2.7/site-packages/urwid/curses_display.pyo
/usr/lib64/python2.7/site-packages/urwid/decoration.py
/usr/lib64/python2.7/site-packages/urwid/decoration.pyc
/usr/lib64/python2.7/site-packages/urwid/decoration.pyo
/usr/lib64/python2.7/site-packages/urwid/display_common.py
/usr/lib64/python2.7/site-packages/urwid/display_common.pyc
/usr/lib64/python2.7/site-packages/urwid/display_common.pyo
/usr/lib64/python2.7/site-packages/urwid/escape.py
/usr/lib64/python2.7/site-packages/urwid/escape.pyc
/usr/lib64/python2.7/site-packages/urwid/escape.pyo
/usr/lib64/python2.7/site-packages/urwid/font.py
/usr/lib64/python2.7/site-packages/urwid/font.pyc
/usr/lib64/python2.7/site-packages/urwid/font.pyo
/usr/lib64/python2.7/site-packages/urwid/graphics.py
/usr/lib64/python2.7/site-packages/urwid/graphics.pyc
/usr/lib64/python2.7/site-packages/urwid/graphics.pyo
/usr/lib64/python2.7/site-packages/urwid/html_fragment.py
/usr/lib64/python2.7/site-packages/urwid/html_fragment.pyc
/usr/lib64/python2.7/site-packages/urwid/html_fragment.pyo
/usr/lib64/python2.7/site-packages/urwid/lcd_display.py
/usr/lib64/python2.7/site-packages/urwid/lcd_display.pyc
/usr/lib64/python2.7/site-packages/urwid/lcd_display.pyo
/usr/lib64/python2.7/site-packages/urwid/listbox.py
/usr/lib64/python2.7/site-packages/urwid/listbox.pyc
/usr/lib64/python2.7/site-packages/urwid/listbox.pyo
/usr/lib64/python2.7/site-packages/urwid/main_loop.py
/usr/lib64/python2.7/site-packages/urwid/main_loop.pyc
/usr/lib64/python2.7/site-packages/urwid/main_loop.pyo
/usr/lib64/python2.7/site-packages/urwid/monitored_list.py
/usr/lib64/python2.7/site-packages/urwid/monitored_list.pyc
/usr/lib64/python2.7/site-packages/urwid/monitored_list.pyo
/usr/lib64/python2.7/site-packages/urwid/old_str_util.py
/usr/lib64/python2.7/site-packages/urwid/old_str_util.pyc
/usr/lib64/python2.7/site-packages/urwid/old_str_util.pyo
/usr/lib64/python2.7/site-packages/urwid/raw_display.py
/usr/lib64/python2.7/site-packages/urwid/raw_display.pyc
/usr/lib64/python2.7/site-packages/urwid/raw_display.pyo
/usr/lib64/python2.7/site-packages/urwid/signals.py
/usr/lib64/python2.7/site-packages/urwid/signals.pyc
/usr/lib64/python2.7/site-packages/urwid/signals.pyo
/usr/lib64/python2.7/site-packages/urwid/split_repr.py
/usr/lib64/python2.7/site-packages/urwid/split_repr.pyc
/usr/lib64/python2.7/site-packages/urwid/split_repr.pyo
/usr/lib64/python2.7/site-packages/urwid/str_util.so
/usr/lib64/python2.7/site-packages/urwid/tests.py
/usr/lib64/python2.7/site-packages/urwid/tests.pyc
/usr/lib64/python2.7/site-packages/urwid/tests.pyo
/usr/lib64/python2.7/site-packages/urwid/text_layout.py
/usr/lib64/python2.7/site-packages/urwid/text_layout.pyc
/usr/lib64/python2.7/site-packages/urwid/text_layout.pyo
/usr/lib64/python2.7/site-packages/urwid/treetools.py
/usr/lib64/python2.7/site-packages/urwid/treetools.pyc
/usr/lib64/python2.7/site-packages/urwid/treetools.pyo
/usr/lib64/python2.7/site-packages/urwid/util.py
/usr/lib64/python2.7/site-packages/urwid/util.pyc
/usr/lib64/python2.7/site-packages/urwid/util.pyo
/usr/lib64/python2.7/site-packages/urwid/version.py
/usr/lib64/python2.7/site-packages/urwid/version.pyc
/usr/lib64/python2.7/site-packages/urwid/version.pyo
/usr/lib64/python2.7/site-packages/urwid/vterm.py
/usr/lib64/python2.7/site-packages/urwid/vterm.pyc
/usr/lib64/python2.7/site-packages/urwid/vterm.pyo
/usr/lib64/python2.7/site-packages/urwid/vterm_test.py
/usr/lib64/python2.7/site-packages/urwid/vterm_test.pyc
/usr/lib64/python2.7/site-packages/urwid/vterm_test.pyo
/usr/lib64/python2.7/site-packages/urwid/web_display.py
/usr/lib64/python2.7/site-packages/urwid/web_display.pyc
/usr/lib64/python2.7/site-packages/urwid/web_display.pyo
/usr/lib64/python2.7/site-packages/urwid/widget.py
/usr/lib64/python2.7/site-packages/urwid/widget.pyc
/usr/lib64/python2.7/site-packages/urwid/widget.pyo
/usr/lib64/python2.7/site-packages/urwid/wimp.py
/usr/lib64/python2.7/site-packages/urwid/wimp.pyc
/usr/lib64/python2.7/site-packages/urwid/wimp.pyo
/usr/share/doc/python-urwid-1.1.1
/usr/share/doc/python-urwid-1.1.1/CHANGELOG
/usr/share/doc/python-urwid-1.1.1/docs
/usr/share/doc/python-urwid-1.1.1/docs/Makefile
/usr/share/doc/python-urwid-1.1.1/docs/conf.py
/usr/share/doc/python-urwid-1.1.1/docs/index.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual
/usr/share/doc/python-urwid-1.1.1/docs/manual/canvascache.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual/displayattributes.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual/displaymodules.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual/encodings.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual/images
/usr/share/doc/python-urwid-1.1.1/docs/manual/images/display_modules.png
/usr/share/doc/python-urwid-1.1.1/docs/manual/images/introduction.png
/usr/share/doc/python-urwid-1.1.1/docs/manual/images/urwid_widgets_1.png
/usr/share/doc/python-urwid-1.1.1/docs/manual/images/urwid_widgets_2.png
/usr/share/doc/python-urwid-1.1.1/docs/manual/images/widget_layout.png
/usr/share/doc/python-urwid-1.1.1/docs/manual/index.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual/mainloop.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual/overview.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual/textlayout.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual/userinput.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual/wanat.py
/usr/share/doc/python-urwid-1.1.1/docs/manual/wanat_multi.py
/usr/share/doc/python-urwid-1.1.1/docs/manual/wcur1.py
/usr/share/doc/python-urwid-1.1.1/docs/manual/wcur2.py
/usr/share/doc/python-urwid-1.1.1/docs/manual/widgets.rst
/usr/share/doc/python-urwid-1.1.1/docs/manual/wmod.py
/usr/share/doc/python-urwid-1.1.1/docs/manual/wsel.py
/usr/share/doc/python-urwid-1.1.1/docs/reference
/usr/share/doc/python-urwid-1.1.1/docs/reference/attrspec.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/canvas.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/command_map.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/constants.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/deprecated.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/display_modules.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/exceptions.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/global_settings.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/index.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/list_walkers.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/main_loop.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/meta.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/signals.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/text_layout.rst
/usr/share/doc/python-urwid-1.1.1/docs/reference/widget.rst
/usr/share/doc/python-urwid-1.1.1/docs/tools
/usr/share/doc/python-urwid-1.1.1/docs/tools/compile_pngs.sh
/usr/share/doc/python-urwid-1.1.1/docs/tools/screenshots.sh
/usr/share/doc/python-urwid-1.1.1/docs/tools/templates
/usr/share/doc/python-urwid-1.1.1/docs/tools/templates/indexcontent.html
/usr/share/doc/python-urwid-1.1.1/docs/tools/templates/indexsidebar.html
/usr/share/doc/python-urwid-1.1.1/docs/tools/templates/layout.html
/usr/share/doc/python-urwid-1.1.1/docs/tutorial
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/adventure.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/adventure.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/adventure1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/adventure2.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/adventure3.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/adventure4.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/attr.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/attr.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/attr1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/attr2.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/attr3.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/attr4.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/cmenu.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/cmenu.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/cmenu1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/cmenu2.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/cmenu3.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/cmenu4.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/highcolors.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/highcolors.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/highcolors1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/hmenu.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/hmenu.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/hmenu1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/hmenu2.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/hmenu3.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/hmenu4.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/index.rst
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/input.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/input.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/input1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/input2.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/input3.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/input4.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/input5.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr2.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr3.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr4.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr5.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr6.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr7.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr8.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/lbscr9.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/menu25.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/minimal.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/minimal.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/minimal1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/multiple.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/multiple.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/multiple1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/multiple2.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/multiple3.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/multiple4.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/qa.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/qa.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/qa1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/qa2.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/qa3.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/sig.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/sig.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/sig1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/sig2.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/sig3.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/sig4.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/smenu.py
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/smenu.py.xdotool
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/smenu1.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/smenu2.png
/usr/share/doc/python-urwid-1.1.1/docs/tutorial/smenu3.png
/usr/share/doc/python-urwid-1.1.1/docs/urwid-logo.png
/usr/share/doc/python-urwid-1.1.1/examples
/usr/share/doc/python-urwid-1.1.1/examples/bigtext.py
/usr/share/doc/python-urwid-1.1.1/examples/browse.py
/usr/share/doc/python-urwid-1.1.1/examples/calc.py
/usr/share/doc/python-urwid-1.1.1/examples/dialog.py
/usr/share/doc/python-urwid-1.1.1/examples/edit.py
/usr/share/doc/python-urwid-1.1.1/examples/fib.py
/usr/share/doc/python-urwid-1.1.1/examples/graph.py
/usr/share/doc/python-urwid-1.1.1/examples/input_test.py
/usr/share/doc/python-urwid-1.1.1/examples/lcd_cf635.py
/usr/share/doc/python-urwid-1.1.1/examples/palette_test.py
/usr/share/doc/python-urwid-1.1.1/examples/pop_up.py
/usr/share/doc/python-urwid-1.1.1/examples/subproc.py
/usr/share/doc/python-urwid-1.1.1/examples/subproc2.py
/usr/share/doc/python-urwid-1.1.1/examples/terminal.py
/usr/share/doc/python-urwid-1.1.1/examples/tour.py
/usr/share/doc/python-urwid-1.1.1/examples/treesample.py
/usr/share/doc/python-urwid-1.1.1/examples/twisted_serve_ssh.py
/usr/share/doc/python-urwid-1.1.1/examples/twisted_serve_ssh.tac

References

Summary

In this tutorial we learn how to install python-urwid.x86_64 on Amazon Linux 2 using yum.