How to Install and Uninstall python-di.noarch Package on Amazon Linux 2

Last updated: January 10,2025

1. Install "python-di.noarch" package

This tutorial shows how to install python-di.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install python-di.noarch

2. Uninstall "python-di.noarch" package

This is a short guide on how to uninstall python-di.noarch on Amazon Linux 2:

$ sudo yum remove python-di.noarch $ sudo yum autoremove

3. Information about the python-di.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : python-di
Arch : noarch
Version : 0.3
Release : 2.amzn2
Size : 19 k
Repo : amzn2-core/2/x86_64
Summary : Python library for dependency injection support
URL : http://fedorapeople.org/cgit/msivak/public_git/python-di.git/
License : GPLv2+
Description : This python package provides a "di" module. The module contains a
: couple of decorators which try to implement the Dependency
: Injection (IoC) pattern without requiring the user to change local
: variables in his methods.
:
: It is intended to be used in unit testing environments.