How To Install python-requests.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install python-requests.noarch
on Amazon Linux 2.
What is python-requests.noarch
Most existing Python modules for sending HTTP requests are extremely verbose and cumbersome. Python’s built-in urllib2 module provides most of the HTTP capabilities you should need, but the API is thoroughly broken. This library is designed to make HTTP requests easy for developers.
We can use yum
to install python-requests.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-requests.noarch.
Install python-requests.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 python-requests.noarch
using yum
by running the following command:
sudo yum -y install python-requests.noarch
How To Uninstall python-requests.noarch on Amazon Linux 2
To uninstall only the python-requests.noarch
package we can use the following command:
sudo yum remove python-requests.noarch
python-requests.noarch Package Contents on Amazon Linux 2
/usr/lib/python2.7/site-packages/requests
/usr/lib/python2.7/site-packages/requests-2.6.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/requests/__init__.py
/usr/lib/python2.7/site-packages/requests/__init__.pyc
/usr/lib/python2.7/site-packages/requests/__init__.pyo
/usr/lib/python2.7/site-packages/requests/adapters.py
/usr/lib/python2.7/site-packages/requests/adapters.pyc
/usr/lib/python2.7/site-packages/requests/adapters.pyo
/usr/lib/python2.7/site-packages/requests/api.py
/usr/lib/python2.7/site-packages/requests/api.pyc
/usr/lib/python2.7/site-packages/requests/api.pyo
/usr/lib/python2.7/site-packages/requests/auth.py
/usr/lib/python2.7/site-packages/requests/auth.pyc
/usr/lib/python2.7/site-packages/requests/auth.pyo
/usr/lib/python2.7/site-packages/requests/certs.py
/usr/lib/python2.7/site-packages/requests/certs.pyc
/usr/lib/python2.7/site-packages/requests/certs.pyo
/usr/lib/python2.7/site-packages/requests/compat.py
/usr/lib/python2.7/site-packages/requests/compat.pyc
/usr/lib/python2.7/site-packages/requests/compat.pyo
/usr/lib/python2.7/site-packages/requests/cookies.py
/usr/lib/python2.7/site-packages/requests/cookies.pyc
/usr/lib/python2.7/site-packages/requests/cookies.pyo
/usr/lib/python2.7/site-packages/requests/exceptions.py
/usr/lib/python2.7/site-packages/requests/exceptions.pyc
/usr/lib/python2.7/site-packages/requests/exceptions.pyo
/usr/lib/python2.7/site-packages/requests/hooks.py
/usr/lib/python2.7/site-packages/requests/hooks.pyc
/usr/lib/python2.7/site-packages/requests/hooks.pyo
/usr/lib/python2.7/site-packages/requests/models.py
/usr/lib/python2.7/site-packages/requests/models.pyc
/usr/lib/python2.7/site-packages/requests/models.pyo
/usr/lib/python2.7/site-packages/requests/packages
/usr/lib/python2.7/site-packages/requests/packages/__init__.py
/usr/lib/python2.7/site-packages/requests/packages/__init__.pyc
/usr/lib/python2.7/site-packages/requests/packages/__init__.pyo
/usr/lib/python2.7/site-packages/requests/sessions.py
/usr/lib/python2.7/site-packages/requests/sessions.pyc
/usr/lib/python2.7/site-packages/requests/sessions.pyo
/usr/lib/python2.7/site-packages/requests/status_codes.py
/usr/lib/python2.7/site-packages/requests/status_codes.pyc
/usr/lib/python2.7/site-packages/requests/status_codes.pyo
/usr/lib/python2.7/site-packages/requests/structures.py
/usr/lib/python2.7/site-packages/requests/structures.pyc
/usr/lib/python2.7/site-packages/requests/structures.pyo
/usr/lib/python2.7/site-packages/requests/utils.py
/usr/lib/python2.7/site-packages/requests/utils.pyc
/usr/lib/python2.7/site-packages/requests/utils.pyo
/usr/share/doc/python-requests-2.6.0
/usr/share/doc/python-requests-2.6.0/HISTORY.rst
/usr/share/doc/python-requests-2.6.0/LICENSE
/usr/share/doc/python-requests-2.6.0/NOTICE
/usr/share/doc/python-requests-2.6.0/README.rst
References
Summary
In this tutorial we learn how to install python-requests.noarch
on Amazon Linux 2 using yum.