How To Install python3-scripttest on Fedora 36

In this tutorial we learn how to install python3-scripttest in Fedora 36. python3-scripttest is Helper to test command-line scripts

Introduction

In this tutorial we learn how to install python3-scripttest on Fedora 36.

What is python3-scripttest

ScriptTest is a library to help you test your interactive command-line applications. With it you can easily run the command (in a subprocess) and see the output (stdout, stderr) and any file modifications.

We can use yum or dnf to install python3-scripttest on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-scripttest.

Install python3-scripttest 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-scripttest using dnf by running the following command:

sudo dnf -y install python3-scripttest

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

sudo yum -y install python3-scripttest

How To Uninstall python3-scripttest on Fedora 36

To uninstall only the python3-scripttest package we can use the following command:

sudo dnf remove python3-scripttest

python3-scripttest Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/__pycache__/scripttest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/__pycache__/scripttest.cpython-310.pyc
/usr/lib/python3.10/site-packages/scripttest-1.3-py3.10.egg-info
/usr/lib/python3.10/site-packages/scripttest-1.3-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/scripttest-1.3-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/scripttest-1.3-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/scripttest-1.3-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/scripttest-1.3-py3.10.egg-info/zip-safe
/usr/lib/python3.10/site-packages/scripttest.py
/usr/share/doc/python3-scripttest
/usr/share/doc/python3-scripttest/html
/usr/share/doc/python3-scripttest/html/.buildinfo
/usr/share/doc/python3-scripttest/html/.doctrees
/usr/share/doc/python3-scripttest/html/.doctrees/environment.pickle
/usr/share/doc/python3-scripttest/html/.doctrees/index.doctree
/usr/share/doc/python3-scripttest/html/.doctrees/license.doctree
/usr/share/doc/python3-scripttest/html/.doctrees/modules
/usr/share/doc/python3-scripttest/html/.doctrees/modules/scripttest.doctree
/usr/share/doc/python3-scripttest/html/.doctrees/news.doctree
/usr/share/doc/python3-scripttest/html/_sources
/usr/share/doc/python3-scripttest/html/_sources/index.rst.txt
/usr/share/doc/python3-scripttest/html/_sources/license.rst.txt
/usr/share/doc/python3-scripttest/html/_sources/modules
/usr/share/doc/python3-scripttest/html/_sources/modules/scripttest.rst.txt
/usr/share/doc/python3-scripttest/html/_sources/news.rst.txt
/usr/share/doc/python3-scripttest/html/_static
/usr/share/doc/python3-scripttest/html/_static/basic.css
/usr/share/doc/python3-scripttest/html/_static/classic.css
/usr/share/doc/python3-scripttest/html/_static/default.css
/usr/share/doc/python3-scripttest/html/_static/doctools.js
/usr/share/doc/python3-scripttest/html/_static/documentation_options.js
/usr/share/doc/python3-scripttest/html/_static/file.png
/usr/share/doc/python3-scripttest/html/_static/jquery-3.5.1.js
/usr/share/doc/python3-scripttest/html/_static/jquery.js
/usr/share/doc/python3-scripttest/html/_static/language_data.js
/usr/share/doc/python3-scripttest/html/_static/minus.png
/usr/share/doc/python3-scripttest/html/_static/plus.png
/usr/share/doc/python3-scripttest/html/_static/pygments.css
/usr/share/doc/python3-scripttest/html/_static/searchtools.js
/usr/share/doc/python3-scripttest/html/_static/sidebar.js
/usr/share/doc/python3-scripttest/html/_static/underscore-1.13.1.js
/usr/share/doc/python3-scripttest/html/_static/underscore.js
/usr/share/doc/python3-scripttest/html/genindex.html
/usr/share/doc/python3-scripttest/html/index.html
/usr/share/doc/python3-scripttest/html/license.html
/usr/share/doc/python3-scripttest/html/modules
/usr/share/doc/python3-scripttest/html/modules/scripttest.html
/usr/share/doc/python3-scripttest/html/news.html
/usr/share/doc/python3-scripttest/html/objects.inv
/usr/share/doc/python3-scripttest/html/search.html
/usr/share/doc/python3-scripttest/html/searchindex.js
/usr/share/licenses/python3-scripttest
/usr/share/licenses/python3-scripttest/license.rst

References

Summary

In this tutorial we learn how to install python3-scripttest on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).