How To Install python3-nose on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-nose
on Rocky Linux 8.
What is python3-nose
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
or dnf
to install python3-nose
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-nose.
Install python3-nose on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-nose
using dnf
by running the following command:
sudo dnf -y install python3-nose
Install python3-nose on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-nose
using yum
by running the following command:
sudo yum -y install python3-nose
How To Uninstall python3-nose on Rocky Linux 8
To uninstall only the python3-nose
package we can use the following command:
sudo dnf remove python3-nose
python3-nose Package Contents on Rocky Linux 8
/usr/bin/nosetests-3
/usr/bin/nosetests-3.6
/usr/lib/python3.6/site-packages/nose
/usr/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg-info
/usr/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/nose-1.3.7-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/nose/__init__.py
/usr/lib/python3.6/site-packages/nose/__main__.py
/usr/lib/python3.6/site-packages/nose/__pycache__
/usr/lib/python3.6/site-packages/nose/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/case.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/case.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/commands.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/commands.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/core.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/exc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/exc.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/failure.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/failure.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/importer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/importer.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/inspector.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/inspector.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/loader.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/loader.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/proxy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/proxy.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/pyversion.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/pyversion.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/result.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/result.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/selector.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/selector.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/suite.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/suite.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/twistedtools.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/twistedtools.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/case.py
/usr/lib/python3.6/site-packages/nose/commands.py
/usr/lib/python3.6/site-packages/nose/config.py
/usr/lib/python3.6/site-packages/nose/core.py
/usr/lib/python3.6/site-packages/nose/exc.py
/usr/lib/python3.6/site-packages/nose/ext
/usr/lib/python3.6/site-packages/nose/ext/__init__.py
/usr/lib/python3.6/site-packages/nose/ext/__pycache__
/usr/lib/python3.6/site-packages/nose/ext/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/ext/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/ext/__pycache__/dtcompat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/ext/__pycache__/dtcompat.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/ext/dtcompat.py
/usr/lib/python3.6/site-packages/nose/failure.py
/usr/lib/python3.6/site-packages/nose/importer.py
/usr/lib/python3.6/site-packages/nose/inspector.py
/usr/lib/python3.6/site-packages/nose/loader.py
/usr/lib/python3.6/site-packages/nose/plugins
/usr/lib/python3.6/site-packages/nose/plugins/__init__.py
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/allmodules.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/allmodules.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/attrib.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/attrib.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/builtin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/builtin.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/capture.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/capture.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/collect.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/collect.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/cover.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/cover.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/debug.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/debug.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/deprecated.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/deprecated.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/doctests.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/doctests.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/errorclass.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/errorclass.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/failuredetail.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/failuredetail.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/isolate.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/isolate.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/logcapture.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/logcapture.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/manager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/manager.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/multiprocess.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/multiprocess.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/plugintest.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/plugintest.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/prof.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/prof.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/skip.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/skip.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/testid.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/testid.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/xunit.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/plugins/__pycache__/xunit.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/plugins/allmodules.py
/usr/lib/python3.6/site-packages/nose/plugins/attrib.py
/usr/lib/python3.6/site-packages/nose/plugins/base.py
/usr/lib/python3.6/site-packages/nose/plugins/builtin.py
/usr/lib/python3.6/site-packages/nose/plugins/capture.py
/usr/lib/python3.6/site-packages/nose/plugins/collect.py
/usr/lib/python3.6/site-packages/nose/plugins/cover.py
/usr/lib/python3.6/site-packages/nose/plugins/debug.py
/usr/lib/python3.6/site-packages/nose/plugins/deprecated.py
/usr/lib/python3.6/site-packages/nose/plugins/doctests.py
/usr/lib/python3.6/site-packages/nose/plugins/errorclass.py
/usr/lib/python3.6/site-packages/nose/plugins/failuredetail.py
/usr/lib/python3.6/site-packages/nose/plugins/isolate.py
/usr/lib/python3.6/site-packages/nose/plugins/logcapture.py
/usr/lib/python3.6/site-packages/nose/plugins/manager.py
/usr/lib/python3.6/site-packages/nose/plugins/multiprocess.py
/usr/lib/python3.6/site-packages/nose/plugins/plugintest.py
/usr/lib/python3.6/site-packages/nose/plugins/prof.py
/usr/lib/python3.6/site-packages/nose/plugins/skip.py
/usr/lib/python3.6/site-packages/nose/plugins/testid.py
/usr/lib/python3.6/site-packages/nose/plugins/xunit.py
/usr/lib/python3.6/site-packages/nose/proxy.py
/usr/lib/python3.6/site-packages/nose/pyversion.py
/usr/lib/python3.6/site-packages/nose/result.py
/usr/lib/python3.6/site-packages/nose/selector.py
/usr/lib/python3.6/site-packages/nose/sphinx
/usr/lib/python3.6/site-packages/nose/sphinx/__init__.py
/usr/lib/python3.6/site-packages/nose/sphinx/__pycache__
/usr/lib/python3.6/site-packages/nose/sphinx/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/sphinx/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/sphinx/__pycache__/pluginopts.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/sphinx/__pycache__/pluginopts.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/sphinx/pluginopts.py
/usr/lib/python3.6/site-packages/nose/suite.py
/usr/lib/python3.6/site-packages/nose/tools
/usr/lib/python3.6/site-packages/nose/tools/__init__.py
/usr/lib/python3.6/site-packages/nose/tools/__pycache__
/usr/lib/python3.6/site-packages/nose/tools/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/tools/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/tools/__pycache__/nontrivial.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/tools/__pycache__/nontrivial.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/tools/__pycache__/trivial.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nose/tools/__pycache__/trivial.cpython-36.pyc
/usr/lib/python3.6/site-packages/nose/tools/nontrivial.py
/usr/lib/python3.6/site-packages/nose/tools/trivial.py
/usr/lib/python3.6/site-packages/nose/twistedtools.py
/usr/lib/python3.6/site-packages/nose/usage.txt
/usr/lib/python3.6/site-packages/nose/util.py
/usr/share/licenses/python3-nose
/usr/share/licenses/python3-nose/lgpl.txt
/usr/share/man/man1/nosetests-3.1.gz
/usr/share/man/man1/nosetests-3.6.1.gz
References
Summary
In this tutorial we learn how to install python3-nose
on Rocky Linux 8 using yum and dnf.