How To Install python-javapackages.noarch on Amazon Linux 2

In this tutorial we learn how to install python-javapackages.noarch in Amazon Linux 2. python-javapackages.noarch is Module for handling various files for Java packaging

Introduction

In this tutorial we learn how to install python-javapackages.noarch on Amazon Linux 2.

What is python-javapackages.noarch

Module for handling, querying and manipulating of various files for Java packaging in Linux distributions

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

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

sudo yum -y install python-javapackages.noarch

How To Uninstall python-javapackages.noarch on Amazon Linux 2

To uninstall only the python-javapackages.noarch package we can use the following command:

sudo yum remove python-javapackages.noarch

python-javapackages.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/javapackages
/usr/lib/python2.7/site-packages/javapackages-1.0.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/javapackages-1.0.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/javapackages-1.0.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/javapackages-1.0.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/javapackages-1.0.0-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/javapackages/__init__.py
/usr/lib/python2.7/site-packages/javapackages/__init__.pyc
/usr/lib/python2.7/site-packages/javapackages/__init__.pyo
/usr/lib/python2.7/site-packages/javapackages/artifact.py
/usr/lib/python2.7/site-packages/javapackages/artifact.pyc
/usr/lib/python2.7/site-packages/javapackages/artifact.pyo
/usr/lib/python2.7/site-packages/javapackages/depmap.py
/usr/lib/python2.7/site-packages/javapackages/depmap.pyc
/usr/lib/python2.7/site-packages/javapackages/depmap.pyo
/usr/lib/python2.7/site-packages/javapackages/pom.py
/usr/lib/python2.7/site-packages/javapackages/pom.pyc
/usr/lib/python2.7/site-packages/javapackages/pom.pyo
/usr/lib/python2.7/site-packages/javapackages/xmvn_config.py
/usr/lib/python2.7/site-packages/javapackages/xmvn_config.pyc
/usr/lib/python2.7/site-packages/javapackages/xmvn_config.pyo
/usr/share/doc/python-javapackages-3.4.1
/usr/share/doc/python-javapackages-3.4.1/LICENSE

References

Summary

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