How To Install python3-scripttester on Fedora 36
Introduction
In this tutorial we learn how to install python3-scripttester
on Fedora 36.
What is python3-scripttester
Provides a class to be instantiated in tests that checks that scripts can be run and give correct output. The class tries to find your scripts whether you have installed them or not. If you have not installed them, the scripts will not be on your system PATH, and we have to find them. The heuristic is to look (by default) in the directory containing mymodule; if there is a setup.py file there, and a scripts subdirectory, assume that directory contains the scripts. Note there is no way of using this not-installed mechanism to find entrypoint scripts, that have not been installed. To find these, we would have to run the setup.py file.
We can use yum
or dnf
to install python3-scripttester
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-scripttester.
Install python3-scripttester on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-scripttester
using dnf
by running the following command:
sudo dnf -y install python3-scripttester
Install python3-scripttester on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-scripttester
using yum
by running the following command:
sudo yum -y install python3-scripttester
How To Uninstall python3-scripttester on Fedora 36
To uninstall only the python3-scripttester
package we can use the following command:
sudo dnf remove python3-scripttester
python3-scripttester Package Contents on Fedora 36
/usr/lib/python3.10/site-packages/scripttester
/usr/lib/python3.10/site-packages/scripttester-0.1.dist-info
/usr/lib/python3.10/site-packages/scripttester-0.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/scripttester-0.1.dist-info/LICENSE
/usr/lib/python3.10/site-packages/scripttester-0.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/scripttester-0.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/scripttester-0.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/scripttester/__init__.py
/usr/lib/python3.10/site-packages/scripttester/__pycache__
/usr/lib/python3.10/site-packages/scripttester/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/scripttester/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/scripttester/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/scripttester/__pycache__/_version.cpython-310.pyc
/usr/lib/python3.10/site-packages/scripttester/__pycache__/scripttester.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/scripttester/__pycache__/scripttester.cpython-310.pyc
/usr/lib/python3.10/site-packages/scripttester/_version.py
/usr/lib/python3.10/site-packages/scripttester/scripttester.py
/usr/lib/python3.10/site-packages/scripttester/tests
/usr/lib/python3.10/site-packages/scripttester/tests/__pycache__
/usr/lib/python3.10/site-packages/scripttester/tests/__pycache__/conftest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/scripttester/tests/__pycache__/conftest.cpython-310.pyc
/usr/lib/python3.10/site-packages/scripttester/tests/__pycache__/test_mypkg66.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/scripttester/tests/__pycache__/test_mypkg66.cpython-310.pyc
/usr/lib/python3.10/site-packages/scripttester/tests/conftest.py
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/__pycache__
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/__pycache__/setup.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/__pycache__/setup.cpython-310.pyc
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/mypkg66
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/mypkg66/__init__.py
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/mypkg66/__pycache__
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/mypkg66/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/mypkg66/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/scripts
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/scripts/mypkg66_script
/usr/lib/python3.10/site-packages/scripttester/tests/mypkg66/setup.py
/usr/lib/python3.10/site-packages/scripttester/tests/test_mypkg66.py
/usr/share/doc/python3-scripttester
/usr/share/doc/python3-scripttester/README.html
/usr/share/doc/python3-scripttester/html
/usr/share/doc/python3-scripttester/html/_sources
/usr/share/doc/python3-scripttester/html/_sources/index.rst.txt
/usr/share/doc/python3-scripttester/html/_static
/usr/share/doc/python3-scripttester/html/_static/alabaster.css
/usr/share/doc/python3-scripttester/html/_static/basic.css
/usr/share/doc/python3-scripttester/html/_static/custom.css
/usr/share/doc/python3-scripttester/html/_static/doctools.js
/usr/share/doc/python3-scripttester/html/_static/documentation_options.js
/usr/share/doc/python3-scripttester/html/_static/file.png
/usr/share/doc/python3-scripttester/html/_static/jquery-3.5.1.js
/usr/share/doc/python3-scripttester/html/_static/jquery.js
/usr/share/doc/python3-scripttester/html/_static/language_data.js
/usr/share/doc/python3-scripttester/html/_static/minus.png
/usr/share/doc/python3-scripttester/html/_static/plus.png
/usr/share/doc/python3-scripttester/html/_static/pygments.css
/usr/share/doc/python3-scripttester/html/_static/searchtools.js
/usr/share/doc/python3-scripttester/html/_static/underscore-1.13.1.js
/usr/share/doc/python3-scripttester/html/_static/underscore.js
/usr/share/doc/python3-scripttester/html/genindex.html
/usr/share/doc/python3-scripttester/html/index.html
/usr/share/doc/python3-scripttester/html/objects.inv
/usr/share/doc/python3-scripttester/html/search.html
/usr/share/doc/python3-scripttester/html/searchindex.js
/usr/share/licenses/python3-scripttester
/usr/share/licenses/python3-scripttester/LICENSE
References
Summary
In this tutorial we learn how to install python3-scripttester
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).