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

In this tutorial we learn how to install python3-nose.noarch in Amazon Linux 2. python3-nose.noarch is Discovery-based unit test extension for Python

Introduction

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

What is python3-nose.noarch

nose extends the test loading and running features of unit test, making it easier to write, find and run tests. By default, nose will run tests in files or directories under the current working directory whose names include “test” or “Test” at a word boundary (like “test_this” or “functional_test” or “TestClass” but not “libtest”). Test output is similar to that of unit test, but also includes captured stdout output from failing tests, for easy print-style debugging. These features, and many more, are customizable through the use of plugins. Plugins included with nose provide support for doctest, code coverage and profiling, flexible attribute-based test selection, output capture and more. This package installs the nose module and nosetests3 program that can discover python3 unit tests.

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

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

sudo yum -y install python3-nose.noarch

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

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

sudo yum remove python3-nose.noarch

python3-nose.noarch Package Contents on Amazon Linux 2

/usr/bin/nosetests-3.7
/usr/lib/python3.7/site-packages/nose
/usr/lib/python3.7/site-packages/nose-1.3.7-py3.7.egg-info
/usr/lib/python3.7/site-packages/nose-1.3.7-py3.7.egg-info/PKG-INFO
/usr/lib/python3.7/site-packages/nose-1.3.7-py3.7.egg-info/SOURCES.txt
/usr/lib/python3.7/site-packages/nose-1.3.7-py3.7.egg-info/dependency_links.txt
/usr/lib/python3.7/site-packages/nose-1.3.7-py3.7.egg-info/entry_points.txt
/usr/lib/python3.7/site-packages/nose-1.3.7-py3.7.egg-info/not-zip-safe
/usr/lib/python3.7/site-packages/nose-1.3.7-py3.7.egg-info/top_level.txt
/usr/lib/python3.7/site-packages/nose/__init__.py
/usr/lib/python3.7/site-packages/nose/__main__.py
/usr/lib/python3.7/site-packages/nose/__pycache__
/usr/lib/python3.7/site-packages/nose/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/__main__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/__main__.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/case.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/case.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/commands.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/commands.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/config.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/config.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/core.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/core.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/exc.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/exc.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/failure.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/failure.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/importer.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/importer.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/inspector.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/inspector.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/loader.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/loader.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/proxy.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/proxy.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/pyversion.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/pyversion.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/result.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/result.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/selector.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/selector.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/suite.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/suite.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/twistedtools.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/twistedtools.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/util.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/__pycache__/util.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/case.py
/usr/lib/python3.7/site-packages/nose/commands.py
/usr/lib/python3.7/site-packages/nose/config.py
/usr/lib/python3.7/site-packages/nose/core.py
/usr/lib/python3.7/site-packages/nose/exc.py
/usr/lib/python3.7/site-packages/nose/ext
/usr/lib/python3.7/site-packages/nose/ext/__init__.py
/usr/lib/python3.7/site-packages/nose/ext/__pycache__
/usr/lib/python3.7/site-packages/nose/ext/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/ext/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/ext/__pycache__/dtcompat.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/ext/__pycache__/dtcompat.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/ext/dtcompat.py
/usr/lib/python3.7/site-packages/nose/failure.py
/usr/lib/python3.7/site-packages/nose/importer.py
/usr/lib/python3.7/site-packages/nose/inspector.py
/usr/lib/python3.7/site-packages/nose/loader.py
/usr/lib/python3.7/site-packages/nose/plugins
/usr/lib/python3.7/site-packages/nose/plugins/__init__.py
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/allmodules.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/allmodules.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/attrib.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/attrib.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/base.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/base.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/builtin.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/builtin.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/capture.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/capture.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/collect.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/collect.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/cover.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/cover.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/debug.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/debug.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/deprecated.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/deprecated.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/doctests.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/doctests.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/errorclass.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/errorclass.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/failuredetail.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/failuredetail.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/isolate.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/isolate.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/logcapture.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/logcapture.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/manager.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/manager.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/multiprocess.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/multiprocess.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/plugintest.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/plugintest.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/prof.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/prof.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/skip.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/skip.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/testid.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/testid.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/xunit.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/plugins/__pycache__/xunit.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/plugins/allmodules.py
/usr/lib/python3.7/site-packages/nose/plugins/attrib.py
/usr/lib/python3.7/site-packages/nose/plugins/base.py
/usr/lib/python3.7/site-packages/nose/plugins/builtin.py
/usr/lib/python3.7/site-packages/nose/plugins/capture.py
/usr/lib/python3.7/site-packages/nose/plugins/collect.py
/usr/lib/python3.7/site-packages/nose/plugins/cover.py
/usr/lib/python3.7/site-packages/nose/plugins/debug.py
/usr/lib/python3.7/site-packages/nose/plugins/deprecated.py
/usr/lib/python3.7/site-packages/nose/plugins/doctests.py
/usr/lib/python3.7/site-packages/nose/plugins/errorclass.py
/usr/lib/python3.7/site-packages/nose/plugins/failuredetail.py
/usr/lib/python3.7/site-packages/nose/plugins/isolate.py
/usr/lib/python3.7/site-packages/nose/plugins/logcapture.py
/usr/lib/python3.7/site-packages/nose/plugins/manager.py
/usr/lib/python3.7/site-packages/nose/plugins/multiprocess.py
/usr/lib/python3.7/site-packages/nose/plugins/plugintest.py
/usr/lib/python3.7/site-packages/nose/plugins/prof.py
/usr/lib/python3.7/site-packages/nose/plugins/skip.py
/usr/lib/python3.7/site-packages/nose/plugins/testid.py
/usr/lib/python3.7/site-packages/nose/plugins/xunit.py
/usr/lib/python3.7/site-packages/nose/proxy.py
/usr/lib/python3.7/site-packages/nose/pyversion.py
/usr/lib/python3.7/site-packages/nose/result.py
/usr/lib/python3.7/site-packages/nose/selector.py
/usr/lib/python3.7/site-packages/nose/sphinx
/usr/lib/python3.7/site-packages/nose/sphinx/__init__.py
/usr/lib/python3.7/site-packages/nose/sphinx/__pycache__
/usr/lib/python3.7/site-packages/nose/sphinx/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/sphinx/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/sphinx/__pycache__/pluginopts.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/sphinx/__pycache__/pluginopts.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/sphinx/pluginopts.py
/usr/lib/python3.7/site-packages/nose/suite.py
/usr/lib/python3.7/site-packages/nose/tools
/usr/lib/python3.7/site-packages/nose/tools/__init__.py
/usr/lib/python3.7/site-packages/nose/tools/__pycache__
/usr/lib/python3.7/site-packages/nose/tools/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/tools/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/tools/__pycache__/nontrivial.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/tools/__pycache__/nontrivial.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/tools/__pycache__/trivial.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/nose/tools/__pycache__/trivial.cpython-37.pyc
/usr/lib/python3.7/site-packages/nose/tools/nontrivial.py
/usr/lib/python3.7/site-packages/nose/tools/trivial.py
/usr/lib/python3.7/site-packages/nose/twistedtools.py
/usr/lib/python3.7/site-packages/nose/usage.txt
/usr/lib/python3.7/site-packages/nose/util.py
/usr/share/licenses/python3-nose-1.3.7
/usr/share/licenses/python3-nose-1.3.7/lgpl.txt
/usr/share/man/man1/nosetests-3.7.1.gz

References

Summary

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