How To Install fmf on Fedora 36

In this tutorial we learn how to install fmf in Fedora 36. fmf is Flexible Metadata Format

Introduction

In this tutorial we learn how to install fmf on Fedora 36.

What is fmf

The fmf Python module and command line tool implement a flexible format for defining metadata in plain text files which can be stored close to the source code. Thanks to hierarchical structure with support for inheritance and elasticity it provides an efficient way to organize data into well-sized text documents. This package contains the command line tool.

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

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

sudo dnf -y install fmf

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

sudo yum -y install fmf

How To Uninstall fmf on Fedora 36

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

sudo dnf remove fmf

fmf Package Contents on Fedora 36

/usr/bin/fmf
/usr/share/doc/fmf
/usr/share/doc/fmf/README.rst
/usr/share/doc/fmf/examples
/usr/share/doc/fmf/examples/child
/usr/share/doc/fmf/examples/child/.fmf
/usr/share/doc/fmf/examples/child/.fmf/version
/usr/share/doc/fmf/examples/child/main.fmf
/usr/share/doc/fmf/examples/child/nobody
/usr/share/doc/fmf/examples/child/nobody/.fmf
/usr/share/doc/fmf/examples/child/nobody/.fmf/version
/usr/share/doc/fmf/examples/child/nobody/main.fmf
/usr/share/doc/fmf/examples/child/son
/usr/share/doc/fmf/examples/child/son/main.fmf
/usr/share/doc/fmf/examples/code
/usr/share/doc/fmf/examples/code/simple.py
/usr/share/doc/fmf/examples/conditions
/usr/share/doc/fmf/examples/conditions/.fmf
/usr/share/doc/fmf/examples/conditions/.fmf/version
/usr/share/doc/fmf/examples/conditions/main.fmf
/usr/share/doc/fmf/examples/deep
/usr/share/doc/fmf/examples/deep/.fmf
/usr/share/doc/fmf/examples/deep/.fmf/version
/usr/share/doc/fmf/examples/deep/main.fmf
/usr/share/doc/fmf/examples/empty
/usr/share/doc/fmf/examples/empty/.fmf
/usr/share/doc/fmf/examples/empty/.fmf/version
/usr/share/doc/fmf/examples/empty/main.fmf
/usr/share/doc/fmf/examples/empty/nothing
/usr/share/doc/fmf/examples/empty/nothing/ignored.txt
/usr/share/doc/fmf/examples/merge
/usr/share/doc/fmf/examples/merge/.fmf
/usr/share/doc/fmf/examples/merge/.fmf/version
/usr/share/doc/fmf/examples/merge/parent.fmf
/usr/share/doc/fmf/examples/scatter
/usr/share/doc/fmf/examples/scatter/.fmf
/usr/share/doc/fmf/examples/scatter/.fmf/version
/usr/share/doc/fmf/examples/scatter/main.fmf
/usr/share/doc/fmf/examples/scatter/object
/usr/share/doc/fmf/examples/scatter/object.fmf
/usr/share/doc/fmf/examples/scatter/object/main.fmf
/usr/share/doc/fmf/examples/touch
/usr/share/doc/fmf/examples/touch/.fmf
/usr/share/doc/fmf/examples/touch/.fmf/version
/usr/share/doc/fmf/examples/touch/main.fmf
/usr/share/doc/fmf/examples/touch/runtest.sh
/usr/share/doc/fmf/examples/wget
/usr/share/doc/fmf/examples/wget/.fmf
/usr/share/doc/fmf/examples/wget/.fmf/version
/usr/share/doc/fmf/examples/wget/.hidden
/usr/share/doc/fmf/examples/wget/.hidden.fmf
/usr/share/doc/fmf/examples/wget/.hidden/main.fmf
/usr/share/doc/fmf/examples/wget/download
/usr/share/doc/fmf/examples/wget/download/main.fmf
/usr/share/doc/fmf/examples/wget/main.fmf
/usr/share/doc/fmf/examples/wget/protocols
/usr/share/doc/fmf/examples/wget/protocols/ftp
/usr/share/doc/fmf/examples/wget/protocols/ftp/main.fmf
/usr/share/doc/fmf/examples/wget/protocols/http
/usr/share/doc/fmf/examples/wget/protocols/http/main.fmf
/usr/share/doc/fmf/examples/wget/protocols/https
/usr/share/doc/fmf/examples/wget/protocols/https/main.fmf
/usr/share/doc/fmf/examples/wget/protocols/main.fmf
/usr/share/doc/fmf/examples/wget/recursion
/usr/share/doc/fmf/examples/wget/recursion/deep.fmf
/usr/share/doc/fmf/examples/wget/recursion/fast.fmf
/usr/share/doc/fmf/examples/wget/recursion/main.fmf
/usr/share/doc/fmf/examples/wget/requirements
/usr/share/doc/fmf/examples/wget/requirements/main.fmf
/usr/share/licenses/fmf
/usr/share/licenses/fmf/LICENSE
/usr/share/man/man1/fmf.1.gz

References

Summary

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