How To Install tmt on Rocky Linux 8

In this tutorial we learn how to install tmt on Rocky Linux 8. tmt is Test Management Tool

Introduction

In this tutorial we learn how to install tmt on Rocky Linux 8.

What is tmt

The tmt Python module and command line tool implement the test metadata specification (L1 and L2) and allows easy test execution. This package contains the command line tool.

We can use yum or dnf to install tmt on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install tmt.

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

sudo dnf -y install tmt

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

sudo yum -y install tmt

How To Uninstall tmt on Rocky Linux 8

To uninstall only the tmt package we can use the following command:

sudo dnf remove tmt

tmt Package Contents on Rocky Linux 8

/etc/bash_completion.d/tmt
/usr/bin/tmt
/usr/share/doc/tmt
/usr/share/doc/tmt/README.rst
/usr/share/doc/tmt/examples
/usr/share/doc/tmt/examples/ansible
/usr/share/doc/tmt/examples/ansible/.fmf
/usr/share/doc/tmt/examples/ansible/.fmf/version
/usr/share/doc/tmt/examples/ansible/plan.fmf
/usr/share/doc/tmt/examples/ansible/test.fmf
/usr/share/doc/tmt/examples/ansible/test.yml
/usr/share/doc/tmt/examples/convert
/usr/share/doc/tmt/examples/convert/.fmf
/usr/share/doc/tmt/examples/convert/.fmf/version
/usr/share/doc/tmt/examples/convert/Makefile
/usr/share/doc/tmt/examples/convert/PURPOSE
/usr/share/doc/tmt/examples/convert/runtest.sh
/usr/share/doc/tmt/examples/discover
/usr/share/doc/tmt/examples/discover/.fmf
/usr/share/doc/tmt/examples/discover/.fmf/version
/usr/share/doc/tmt/examples/discover/discover.fmf
/usr/share/doc/tmt/examples/environment
/usr/share/doc/tmt/examples/environment/.fmf
/usr/share/doc/tmt/examples/environment/.fmf/version
/usr/share/doc/tmt/examples/environment/main.fmf
/usr/share/doc/tmt/examples/httpd
/usr/share/doc/tmt/examples/httpd/.fmf
/usr/share/doc/tmt/examples/httpd/.fmf/version
/usr/share/doc/tmt/examples/httpd/smoke.fmf
/usr/share/doc/tmt/examples/inherit
/usr/share/doc/tmt/examples/inherit/.fmf
/usr/share/doc/tmt/examples/inherit/.fmf/version
/usr/share/doc/tmt/examples/inherit/main.fmf
/usr/share/doc/tmt/examples/l2
/usr/share/doc/tmt/examples/l2/.fmf
/usr/share/doc/tmt/examples/l2/.fmf/version
/usr/share/doc/tmt/examples/l2/artifacts.fmf
/usr/share/doc/tmt/examples/l2/bed.fmf
/usr/share/doc/tmt/examples/l2/gating.fmf
/usr/share/doc/tmt/examples/l2/rpmdiff.fmf
/usr/share/doc/tmt/examples/l2/simple.fmf
/usr/share/doc/tmt/examples/l2/tooling.fmf
/usr/share/doc/tmt/examples/l2/workflow.fmf
/usr/share/doc/tmt/examples/local
/usr/share/doc/tmt/examples/local/.fmf
/usr/share/doc/tmt/examples/local/.fmf/version
/usr/share/doc/tmt/examples/local/plan.fmf
/usr/share/doc/tmt/examples/manual
/usr/share/doc/tmt/examples/manual/.fmf
/usr/share/doc/tmt/examples/manual/.fmf/version
/usr/share/doc/tmt/examples/manual/full.md
/usr/share/doc/tmt/examples/manual/main.fmf
/usr/share/doc/tmt/examples/manual/mini.md
/usr/share/doc/tmt/examples/mini
/usr/share/doc/tmt/examples/mini/.fmf
/usr/share/doc/tmt/examples/mini/.fmf/version
/usr/share/doc/tmt/examples/mini/ci.fmf
/usr/share/doc/tmt/examples/multiple
/usr/share/doc/tmt/examples/multiple/.fmf
/usr/share/doc/tmt/examples/multiple/.fmf/version
/usr/share/doc/tmt/examples/multiple/basic.fmf
/usr/share/doc/tmt/examples/plugins
/usr/share/doc/tmt/examples/plugins/discover.py
/usr/share/doc/tmt/examples/plugins/provision.py
/usr/share/doc/tmt/examples/rtt
/usr/share/doc/tmt/examples/rtt/.fmf
/usr/share/doc/tmt/examples/rtt/.fmf/version
/usr/share/doc/tmt/examples/rtt/install.fmf
/usr/share/doc/tmt/examples/rtt/post-install.fmf
/usr/share/doc/tmt/examples/symlinks
/usr/share/doc/tmt/examples/symlinks/.fmf
/usr/share/doc/tmt/examples/symlinks/.fmf/version
/usr/share/doc/tmt/examples/symlinks/plans
/usr/share/doc/tmt/examples/symlinks/plans/basic.fmf
/usr/share/doc/tmt/examples/symlinks/plans/core.fmf
/usr/share/doc/tmt/examples/symlinks/plans/helps.fmf
/usr/share/doc/tmt/examples/symlinks/plans/install.fmf
/usr/share/doc/tmt/examples/symlinks/plans/main.fmf
/usr/share/doc/tmt/examples/symlinks/plans/smoke.fmf
/usr/share/doc/tmt/examples/symlinks/plans/unit.fmf
/usr/share/doc/tmt/examples/symlinks/try
/usr/share/doc/tmt/examples/symlinks/try/connect
/usr/share/doc/tmt/examples/symlinks/try/connect/basic.fmf
/usr/share/doc/tmt/examples/symlinks/try/connect/core.fmf
/usr/share/doc/tmt/examples/symlinks/try/connect/main.fmf
/usr/share/doc/tmt/examples/symlinks/try/connect/smoke.fmf
/usr/share/doc/tmt/examples/symlinks/try/connect/unit.fmf
/usr/share/doc/tmt/examples/symlinks/try/container
/usr/share/doc/tmt/examples/symlinks/try/container/basic.fmf
/usr/share/doc/tmt/examples/symlinks/try/container/core.fmf
/usr/share/doc/tmt/examples/symlinks/try/container/main.fmf
/usr/share/doc/tmt/examples/symlinks/try/container/smoke.fmf
/usr/share/doc/tmt/examples/symlinks/try/container/unit.fmf
/usr/share/doc/tmt/examples/symlinks/try/main.fmf
/usr/share/doc/tmt/examples/symlinks/try/minute
/usr/share/doc/tmt/examples/symlinks/try/minute/basic.fmf
/usr/share/doc/tmt/examples/symlinks/try/minute/core.fmf
/usr/share/doc/tmt/examples/symlinks/try/minute/main.fmf
/usr/share/doc/tmt/examples/symlinks/try/minute/smoke.fmf
/usr/share/doc/tmt/examples/symlinks/try/minute/unit.fmf
/usr/share/doc/tmt/examples/symlinks/try/virtual
/usr/share/doc/tmt/examples/symlinks/try/virtual/basic.fmf
/usr/share/doc/tmt/examples/symlinks/try/virtual/core.fmf
/usr/share/doc/tmt/examples/symlinks/try/virtual/main.fmf
/usr/share/doc/tmt/examples/symlinks/try/virtual/smoke.fmf
/usr/share/doc/tmt/examples/symlinks/try/virtual/unit.fmf
/usr/share/doc/tmt/examples/systemd
/usr/share/doc/tmt/examples/systemd/.fmf
/usr/share/doc/tmt/examples/systemd/.fmf/version
/usr/share/doc/tmt/examples/systemd/ci.fmf
/usr/share/doc/tmt/examples/together
/usr/share/doc/tmt/examples/together/.fmf
/usr/share/doc/tmt/examples/together/.fmf/version
/usr/share/doc/tmt/examples/together/main.fmf
/usr/share/doc/tmt/examples/vagrant
/usr/share/doc/tmt/examples/vagrant/Vagrantfile.real_prod
/usr/share/doc/tmt/examples/vagrant/Vagrantfile.simple
/usr/share/doc/tmt/examples/vagrant/Vagrantfile.url
/usr/share/doc/tmt/examples/vagrant/Vagrantfile.various
/usr/share/doc/tmt/examples/wow
/usr/share/doc/tmt/examples/wow/.fmf
/usr/share/doc/tmt/examples/wow/.fmf/version
/usr/share/doc/tmt/examples/wow/full
/usr/share/doc/tmt/examples/wow/full/main.fmf
/usr/share/doc/tmt/examples/wow/full/test.sh
/usr/share/doc/tmt/examples/wow/mini
/usr/share/doc/tmt/examples/wow/mini/main.fmf
/usr/share/doc/tmt/examples/wow/mini/test.sh
/usr/share/doc/tmt/examples/wow/run.sh
/usr/share/licenses/tmt
/usr/share/licenses/tmt/LICENSE
/usr/share/man/man1/tmt.1.gz

References

Summary

In this tutorial we learn how to install tmt on Rocky Linux 8 using yum and dnf.