How To Install python3-bottle.noarch on Amazon Linux 2

In this tutorial we learn how to install python3-bottle.noarch in Amazon Linux 2. python3-bottle.noarch is Fast and simple WSGI-framework for small web-applications

Introduction

In this tutorial we learn how to install python3-bottle.noarch on Amazon Linux 2.

What is python3-bottle.noarch

Bottle is a fast and simple micro-framework for small web-applications. It offers request dispatching (Routes) with URL parameter support, Templates, a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and template engines. All in a single file and with no dependencies other than the Python Standard Library.

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

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

sudo yum -y install python3-bottle.noarch

How To Uninstall python3-bottle.noarch on Amazon Linux 2

To uninstall only the python3-bottle.noarch package we can use the following command:

sudo yum remove python3-bottle.noarch

python3-bottle.noarch Package Contents on Amazon Linux 2

/usr/lib/python3.7/site-packages/__pycache__/bottle.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/__pycache__/bottle.cpython-37.pyc
/usr/lib/python3.7/site-packages/bottle-0.12.18-py3.7.egg-info
/usr/lib/python3.7/site-packages/bottle-0.12.18-py3.7.egg-info/PKG-INFO
/usr/lib/python3.7/site-packages/bottle-0.12.18-py3.7.egg-info/SOURCES.txt
/usr/lib/python3.7/site-packages/bottle-0.12.18-py3.7.egg-info/dependency_links.txt
/usr/lib/python3.7/site-packages/bottle-0.12.18-py3.7.egg-info/top_level.txt
/usr/lib/python3.7/site-packages/bottle.py
/usr/share/doc/python3-bottle-0.12.18
/usr/share/doc/python3-bottle-0.12.18/AUTHORS
/usr/share/doc/python3-bottle-0.12.18/README.rst
/usr/share/licenses/python3-bottle-0.12.18
/usr/share/licenses/python3-bottle-0.12.18/LICENSE

References

Summary

In this tutorial we learn how to install python3-bottle.noarch on Amazon Linux 2 using yum.