How To Install pungi on Fedora 34

pungi is Distribution compose tool

Introduction

In this tutorial we learn how to install pungi on Fedora 34.

What is pungi

A tool to create anaconda based installation trees/isos of a set of rpms.

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

Install pungi on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pungi using dnf by running the following command:

sudo dnf -y install pungi

Install pungi on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pungi using yum by running the following command:

sudo yum -y install pungi

How To Uninstall pungi on Fedora 34

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

sudo dnf remove pungi

pungi Package Contents on Fedora 34

/usr/bin/comps_filter
/usr/bin/pungi-gather
/usr/bin/pungi-koji
/usr/bin/pungi-make-ostree
/usr/share/doc/pungi
/usr/share/doc/pungi/AUTHORS
/usr/share/doc/pungi/Pungi.epub
/usr/share/doc/pungi/about.txt
/usr/share/doc/pungi/comps.txt
/usr/share/doc/pungi/configuration.txt
/usr/share/doc/pungi/contributing.txt
/usr/share/doc/pungi/examples.txt
/usr/share/doc/pungi/format.txt
/usr/share/doc/pungi/gathering.txt
/usr/share/doc/pungi/index.txt
/usr/share/doc/pungi/messaging.txt
/usr/share/doc/pungi/multi_compose.txt
/usr/share/doc/pungi/phases.txt
/usr/share/doc/pungi/scm_support.txt
/usr/share/doc/pungi/testing.txt
/usr/share/licenses/pungi
/usr/share/licenses/pungi/COPYING
/usr/share/licenses/pungi/GPL
/usr/share/man/man1/pungi.1.gz
/usr/share/pungi
/usr/share/pungi/comps-cleanup.xsl
/usr/share/pungi/f9-fedora.ks
/usr/share/pungi/multilib
/usr/share/pungi/multilib/devel-blacklist.conf
/usr/share/pungi/multilib/devel-whitelist.conf
/usr/share/pungi/multilib/runtime-blacklist.conf
/usr/share/pungi/multilib/runtime-patterns.conf
/usr/share/pungi/multilib/runtime-whitelist.conf
/usr/share/pungi/rawhide-fedora.ks
/usr/share/pungi/variants.dtd
/var/cache/pungi

References

Summary

In this tutorial we learn how to install pungi on Fedora 34 using yum and dnf.