How To Install python-avocado-examples on Rocky Linux 8
Introduction
In this tutorial we learn how to install python-avocado-examples
on Rocky Linux 8.
What is python-avocado-examples
The set of example tests present in the upstream tree of the Avocado framework. Some of them are used as functional tests of the framework, others serve as examples of how to write tests on your own.
We can use yum
or dnf
to install python-avocado-examples
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python-avocado-examples.
Install python-avocado-examples 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 python-avocado-examples
using dnf
by running the following command:
sudo dnf -y install python-avocado-examples
Install python-avocado-examples 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 python-avocado-examples
using yum
by running the following command:
sudo yum -y install python-avocado-examples
How To Uninstall python-avocado-examples on Rocky Linux 8
To uninstall only the python-avocado-examples
package we can use the following command:
sudo dnf remove python-avocado-examples
python-avocado-examples Package Contents on Rocky Linux 8
/usr/share/doc/avocado
/usr/share/doc/avocado/gdb-prerun-scripts
/usr/share/doc/avocado/gdb-prerun-scripts/README
/usr/share/doc/avocado/gdb-prerun-scripts/pass-sigusr1
/usr/share/doc/avocado/plugins
/usr/share/doc/avocado/plugins/README.rst
/usr/share/doc/avocado/plugins/cli-cmd
/usr/share/doc/avocado/plugins/cli-cmd/hello
/usr/share/doc/avocado/plugins/cli-cmd/hello/hello.py
/usr/share/doc/avocado/plugins/cli-cmd/hello/setup.py
/usr/share/doc/avocado/plugins/cli-cmd/hello_option
/usr/share/doc/avocado/plugins/cli-cmd/hello_option/hello_option.py
/usr/share/doc/avocado/plugins/cli-cmd/hello_option/setup.py
/usr/share/doc/avocado/plugins/cli-cmd/hello_parser
/usr/share/doc/avocado/plugins/cli-cmd/hello_parser/hello_parser.py
/usr/share/doc/avocado/plugins/cli-cmd/hello_parser/setup.py
/usr/share/doc/avocado/plugins/job-pre-post
/usr/share/doc/avocado/plugins/job-pre-post/mail
/usr/share/doc/avocado/plugins/job-pre-post/mail/avocado_job_mail.py
/usr/share/doc/avocado/plugins/job-pre-post/mail/setup.py
/usr/share/doc/avocado/plugins/job-pre-post/sleep
/usr/share/doc/avocado/plugins/job-pre-post/sleep/avocado_job_sleep.py
/usr/share/doc/avocado/plugins/job-pre-post/sleep/setup.py
/usr/share/doc/avocado/tests
/usr/share/doc/avocado/tests/abort.py
/usr/share/doc/avocado/tests/assert.py
/usr/share/doc/avocado/tests/assets.py
/usr/share/doc/avocado/tests/assets.py.data
/usr/share/doc/avocado/tests/assets.py.data/gnu_hello_signer.gpg
/usr/share/doc/avocado/tests/cabort.py
/usr/share/doc/avocado/tests/cabort.py.data
/usr/share/doc/avocado/tests/cabort.py.data/abort.c
/usr/share/doc/avocado/tests/cancel_on_exception.py
/usr/share/doc/avocado/tests/cancelonsetup.py
/usr/share/doc/avocado/tests/canceltest.py
/usr/share/doc/avocado/tests/cit_parameters.py
/usr/share/doc/avocado/tests/datadir.py
/usr/share/doc/avocado/tests/datadir.py.data
/usr/share/doc/avocado/tests/datadir.py.data/datadir.c
/usr/share/doc/avocado/tests/doublefail.py
/usr/share/doc/avocado/tests/doublefree.py
/usr/share/doc/avocado/tests/doublefree.py.data
/usr/share/doc/avocado/tests/doublefree.py.data/doublefree.c
/usr/share/doc/avocado/tests/doublefree_nasty.py
/usr/share/doc/avocado/tests/doublefree_nasty.py.data
/usr/share/doc/avocado/tests/doublefree_nasty.py.data/doublefree.c
/usr/share/doc/avocado/tests/doublefree_nasty.py.data/gdb_pre
/usr/share/doc/avocado/tests/doublefree_nasty.py.data/iterations.yaml
/usr/share/doc/avocado/tests/env_variables.sh
/usr/share/doc/avocado/tests/env_variables.sh.data
/usr/share/doc/avocado/tests/env_variables.sh.data/env_variables.yaml
/usr/share/doc/avocado/tests/errortest.py
/usr/share/doc/avocado/tests/errortest_nasty.py
/usr/share/doc/avocado/tests/errortest_nasty2.py
/usr/share/doc/avocado/tests/errortest_nasty3.py
/usr/share/doc/avocado/tests/fail_on_exception.py
/usr/share/doc/avocado/tests/failtest.py
/usr/share/doc/avocado/tests/failtest.sh
/usr/share/doc/avocado/tests/failtest_ugly.py
/usr/share/doc/avocado/tests/gdbtest.py
/usr/share/doc/avocado/tests/gdbtest.py.data
/usr/share/doc/avocado/tests/gdbtest.py.data/return99.c
/usr/share/doc/avocado/tests/gdbtest.py.data/segfault.c
/usr/share/doc/avocado/tests/gendata.py
/usr/share/doc/avocado/tests/linuxbuild.py
/usr/share/doc/avocado/tests/linuxbuild.py.data
/usr/share/doc/avocado/tests/linuxbuild.py.data/linuxbuild.yaml
/usr/share/doc/avocado/tests/modify_variable.py
/usr/share/doc/avocado/tests/modify_variable.py.data
/usr/share/doc/avocado/tests/modify_variable.py.data/print_variable.c
/usr/share/doc/avocado/tests/multiple_tests.py
/usr/share/doc/avocado/tests/multiplextest.py
/usr/share/doc/avocado/tests/multiplextest.py.data
/usr/share/doc/avocado/tests/multiplextest.py.data/multiplextest.yaml
/usr/share/doc/avocado/tests/output_check.sh
/usr/share/doc/avocado/tests/output_check.sh.data
/usr/share/doc/avocado/tests/output_check.sh.data/stderr.expected
/usr/share/doc/avocado/tests/output_check.sh.data/stdout.expected
/usr/share/doc/avocado/tests/passtest.py
/usr/share/doc/avocado/tests/passtest.sh
/usr/share/doc/avocado/tests/passtest_explicit_requirement.py
/usr/share/doc/avocado/tests/phases.py
/usr/share/doc/avocado/tests/raise.py
/usr/share/doc/avocado/tests/raise.py.data
/usr/share/doc/avocado/tests/raise.py.data/raise.c
/usr/share/doc/avocado/tests/raise.py.data/raise.yaml
/usr/share/doc/avocado/tests/simplewarning.sh
/usr/share/doc/avocado/tests/sleeptenmin.py
/usr/share/doc/avocado/tests/sleeptenmin.py.data
/usr/share/doc/avocado/tests/sleeptenmin.py.data/sleeptenmin.yaml
/usr/share/doc/avocado/tests/sleeptest.py
/usr/share/doc/avocado/tests/sleeptest.py.data
/usr/share/doc/avocado/tests/sleeptest.py.data/sleeptest.json
/usr/share/doc/avocado/tests/sleeptest.py.data/sleeptest.yaml
/usr/share/doc/avocado/tests/synctest.py
/usr/share/doc/avocado/tests/synctest.py.data
/usr/share/doc/avocado/tests/synctest.py.data/stderr.expected
/usr/share/doc/avocado/tests/synctest.py.data/stdout.expected
/usr/share/doc/avocado/tests/synctest.py.data/synctest.tar.bz2
/usr/share/doc/avocado/tests/synctest.py.data/synctest.yaml
/usr/share/doc/avocado/tests/test_env.py
/usr/share/doc/avocado/tests/timeouttest.py
/usr/share/doc/avocado/tests/uncaught_exception.py
/usr/share/doc/avocado/tests/vm-cleanup.py
/usr/share/doc/avocado/tests/vm-cleanup.py.data
/usr/share/doc/avocado/tests/vm-cleanup.py.data/vm-cleanup.yaml
/usr/share/doc/avocado/tests/warntest.py
/usr/share/doc/avocado/tests/whiteboard.py
/usr/share/doc/avocado/varianter_cit
/usr/share/doc/avocado/varianter_cit/params.cit
/usr/share/doc/avocado/varianter_cit/test_params.cit
/usr/share/doc/avocado/varianter_pict
/usr/share/doc/avocado/varianter_pict/params.pict
/usr/share/doc/avocado/wrappers
/usr/share/doc/avocado/wrappers/bind_cpu0.sh
/usr/share/doc/avocado/wrappers/dummy.sh
/usr/share/doc/avocado/wrappers/ltrace.sh
/usr/share/doc/avocado/wrappers/perf.sh
/usr/share/doc/avocado/wrappers/rr.sh
/usr/share/doc/avocado/wrappers/strace.sh
/usr/share/doc/avocado/wrappers/time.sh
/usr/share/doc/avocado/wrappers/valgrind.sh
/usr/share/doc/avocado/yaml_to_mux
/usr/share/doc/avocado/yaml_to_mux/complex.yaml
/usr/share/doc/avocado/yaml_to_mux/hw
/usr/share/doc/avocado/yaml_to_mux/hw/hw.yaml
/usr/share/doc/avocado/yaml_to_mux/os
/usr/share/doc/avocado/yaml_to_mux/os/linux.yaml
/usr/share/doc/avocado/yaml_to_mux/os/windows.yaml
/usr/share/doc/avocado/yaml_to_mux/simple.yaml
/usr/share/doc/avocado/yaml_to_mux/simple_vars.yaml
/usr/share/doc/avocado/yaml_to_mux/types.yaml
/usr/share/doc/avocado/yaml_to_mux_loader
/usr/share/doc/avocado/yaml_to_mux_loader/advanced.yaml
/usr/share/doc/avocado/yaml_to_mux_loader/basic.yaml
/usr/share/doc/avocado/yaml_to_mux_loader/loaders.yaml
/usr/share/licenses/python-avocado-examples
/usr/share/licenses/python-avocado-examples/LICENSE
References
Summary
In this tutorial we learn how to install python-avocado-examples
on Rocky Linux 8 using yum and dnf.