How To Install osbuild on Fedora 34
Introduction
In this tutorial we learn how to install osbuild
on Fedora 34.
What is osbuild
A build system for OS images
We can use yum
or dnf
to install osbuild
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install osbuild.
Install osbuild 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 osbuild
using dnf
by running the following command:
sudo dnf -y install osbuild
Install osbuild 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 osbuild
using yum
by running the following command:
sudo yum -y install osbuild
How To Uninstall osbuild on Fedora 34
To uninstall only the osbuild
package we can use the following command:
sudo dnf remove osbuild
osbuild Package Contents on Fedora 34
/usr/bin/osbuild
/usr/lib/osbuild
/usr/lib/osbuild/assemblers
/usr/lib/osbuild/assemblers/org.osbuild.error
/usr/lib/osbuild/assemblers/org.osbuild.noop
/usr/lib/osbuild/assemblers/org.osbuild.oci-archive
/usr/lib/osbuild/assemblers/org.osbuild.qemu
/usr/lib/osbuild/assemblers/org.osbuild.rawfs
/usr/lib/osbuild/assemblers/org.osbuild.tar
/usr/lib/osbuild/devices
/usr/lib/osbuild/devices/org.osbuild.loopback
/usr/lib/osbuild/inputs
/usr/lib/osbuild/inputs/org.osbuild.files
/usr/lib/osbuild/inputs/org.osbuild.noop
/usr/lib/osbuild/inputs/org.osbuild.tree
/usr/lib/osbuild/mounts
/usr/lib/osbuild/mounts/org.osbuild.btrfs
/usr/lib/osbuild/mounts/org.osbuild.ext4
/usr/lib/osbuild/mounts/org.osbuild.fat
/usr/lib/osbuild/mounts/org.osbuild.noop
/usr/lib/osbuild/mounts/org.osbuild.xfs
/usr/lib/osbuild/osbuild
/usr/lib/osbuild/runners
/usr/lib/osbuild/runners/org.osbuild.arch
/usr/lib/osbuild/runners/org.osbuild.centos8
/usr/lib/osbuild/runners/org.osbuild.fedora30
/usr/lib/osbuild/runners/org.osbuild.fedora31
/usr/lib/osbuild/runners/org.osbuild.fedora32
/usr/lib/osbuild/runners/org.osbuild.fedora33
/usr/lib/osbuild/runners/org.osbuild.fedora34
/usr/lib/osbuild/runners/org.osbuild.fedora35
/usr/lib/osbuild/runners/org.osbuild.linux
/usr/lib/osbuild/runners/org.osbuild.rhel81
/usr/lib/osbuild/runners/org.osbuild.rhel82
/usr/lib/osbuild/runners/org.osbuild.rhel83
/usr/lib/osbuild/runners/org.osbuild.rhel84
/usr/lib/osbuild/runners/org.osbuild.rhel85
/usr/lib/osbuild/runners/org.osbuild.rhel90
/usr/lib/osbuild/runners/org.osbuild.ubuntu1804
/usr/lib/osbuild/runners/org.osbuild.ubuntu2004
/usr/lib/osbuild/schemas
/usr/lib/osbuild/sources
/usr/lib/osbuild/sources/org.osbuild.curl
/usr/lib/osbuild/sources/org.osbuild.inline
/usr/lib/osbuild/stages
/usr/lib/osbuild/stages/org.osbuild.anaconda
/usr/lib/osbuild/stages/org.osbuild.authselect
/usr/lib/osbuild/stages/org.osbuild.bootiso.mono
/usr/lib/osbuild/stages/org.osbuild.buildstamp
/usr/lib/osbuild/stages/org.osbuild.chmod
/usr/lib/osbuild/stages/org.osbuild.chrony
/usr/lib/osbuild/stages/org.osbuild.cloud-init
/usr/lib/osbuild/stages/org.osbuild.copy
/usr/lib/osbuild/stages/org.osbuild.debug-shell
/usr/lib/osbuild/stages/org.osbuild.discinfo
/usr/lib/osbuild/stages/org.osbuild.dracut
/usr/lib/osbuild/stages/org.osbuild.dracut.conf
/usr/lib/osbuild/stages/org.osbuild.error
/usr/lib/osbuild/stages/org.osbuild.firewall
/usr/lib/osbuild/stages/org.osbuild.first-boot
/usr/lib/osbuild/stages/org.osbuild.fix-bls
/usr/lib/osbuild/stages/org.osbuild.fstab
/usr/lib/osbuild/stages/org.osbuild.groups
/usr/lib/osbuild/stages/org.osbuild.grub2
/usr/lib/osbuild/stages/org.osbuild.grub2.inst
/usr/lib/osbuild/stages/org.osbuild.grub2.iso
/usr/lib/osbuild/stages/org.osbuild.hostname
/usr/lib/osbuild/stages/org.osbuild.ignition
/usr/lib/osbuild/stages/org.osbuild.implantisomd5
/usr/lib/osbuild/stages/org.osbuild.isolinux
/usr/lib/osbuild/stages/org.osbuild.kernel-cmdline
/usr/lib/osbuild/stages/org.osbuild.keymap
/usr/lib/osbuild/stages/org.osbuild.kickstart
/usr/lib/osbuild/stages/org.osbuild.locale
/usr/lib/osbuild/stages/org.osbuild.lorax-script
/usr/lib/osbuild/stages/org.osbuild.mkdir
/usr/lib/osbuild/stages/org.osbuild.mkfs.btrfs
/usr/lib/osbuild/stages/org.osbuild.mkfs.ext4
/usr/lib/osbuild/stages/org.osbuild.mkfs.fat
/usr/lib/osbuild/stages/org.osbuild.mkfs.xfs
/usr/lib/osbuild/stages/org.osbuild.modprobe
/usr/lib/osbuild/stages/org.osbuild.nginx.conf
/usr/lib/osbuild/stages/org.osbuild.nm.conn
/usr/lib/osbuild/stages/org.osbuild.noop
/usr/lib/osbuild/stages/org.osbuild.oci-archive
/usr/lib/osbuild/stages/org.osbuild.qemu
/usr/lib/osbuild/stages/org.osbuild.resolv-conf
/usr/lib/osbuild/stages/org.osbuild.rhsm
/usr/lib/osbuild/stages/org.osbuild.rpm
/usr/lib/osbuild/stages/org.osbuild.selinux
/usr/lib/osbuild/stages/org.osbuild.sfdisk
/usr/lib/osbuild/stages/org.osbuild.squashfs
/usr/lib/osbuild/stages/org.osbuild.sysconfig
/usr/lib/osbuild/stages/org.osbuild.systemd
/usr/lib/osbuild/stages/org.osbuild.systemd-logind
/usr/lib/osbuild/stages/org.osbuild.systemd.unit
/usr/lib/osbuild/stages/org.osbuild.tar
/usr/lib/osbuild/stages/org.osbuild.test
/usr/lib/osbuild/stages/org.osbuild.timezone
/usr/lib/osbuild/stages/org.osbuild.truncate
/usr/lib/osbuild/stages/org.osbuild.users
/usr/lib/osbuild/stages/org.osbuild.xorrisofs
/usr/lib/osbuild/stages/org.osbuild.xz
/usr/lib/osbuild/stages/org.osbuild.zipl
/usr/lib/osbuild/stages/org.osbuild.zipl.inst
/usr/share/licenses/osbuild
/usr/share/licenses/osbuild/LICENSE
/usr/share/man/man1/osbuild.1.gz
/usr/share/man/man5/osbuild-manifest.5.gz
/usr/share/osbuild/schemas
/usr/share/osbuild/schemas/osbuild1.json
/usr/share/osbuild/schemas/osbuild2.json
/usr/bin/osbuild
/usr/lib/osbuild
/usr/lib/osbuild/assemblers
/usr/lib/osbuild/assemblers/org.osbuild.error
/usr/lib/osbuild/assemblers/org.osbuild.noop
/usr/lib/osbuild/assemblers/org.osbuild.oci-archive
/usr/lib/osbuild/assemblers/org.osbuild.qemu
/usr/lib/osbuild/assemblers/org.osbuild.rawfs
/usr/lib/osbuild/assemblers/org.osbuild.tar
/usr/lib/osbuild/inputs
/usr/lib/osbuild/inputs/org.osbuild.files
/usr/lib/osbuild/inputs/org.osbuild.noop
/usr/lib/osbuild/inputs/org.osbuild.ostree
/usr/lib/osbuild/inputs/org.osbuild.tree
/usr/lib/osbuild/osbuild
/usr/lib/osbuild/runners
/usr/lib/osbuild/runners/org.osbuild.arch
/usr/lib/osbuild/runners/org.osbuild.centos8
/usr/lib/osbuild/runners/org.osbuild.fedora30
/usr/lib/osbuild/runners/org.osbuild.fedora31
/usr/lib/osbuild/runners/org.osbuild.fedora32
/usr/lib/osbuild/runners/org.osbuild.fedora33
/usr/lib/osbuild/runners/org.osbuild.fedora34
/usr/lib/osbuild/runners/org.osbuild.fedora35
/usr/lib/osbuild/runners/org.osbuild.linux
/usr/lib/osbuild/runners/org.osbuild.rhel81
/usr/lib/osbuild/runners/org.osbuild.rhel82
/usr/lib/osbuild/runners/org.osbuild.rhel83
/usr/lib/osbuild/runners/org.osbuild.rhel84
/usr/lib/osbuild/runners/org.osbuild.rhel85
/usr/lib/osbuild/runners/org.osbuild.rhel90
/usr/lib/osbuild/runners/org.osbuild.ubuntu1804
/usr/lib/osbuild/runners/org.osbuild.ubuntu2004
/usr/lib/osbuild/schemas
/usr/lib/osbuild/sources
/usr/lib/osbuild/sources/org.osbuild.curl
/usr/lib/osbuild/stages
/usr/lib/osbuild/stages/org.osbuild.anaconda
/usr/lib/osbuild/stages/org.osbuild.bootiso.mono
/usr/lib/osbuild/stages/org.osbuild.buildstamp
/usr/lib/osbuild/stages/org.osbuild.chrony
/usr/lib/osbuild/stages/org.osbuild.debug-shell
/usr/lib/osbuild/stages/org.osbuild.discinfo
/usr/lib/osbuild/stages/org.osbuild.dracut
/usr/lib/osbuild/stages/org.osbuild.error
/usr/lib/osbuild/stages/org.osbuild.firewall
/usr/lib/osbuild/stages/org.osbuild.first-boot
/usr/lib/osbuild/stages/org.osbuild.fix-bls
/usr/lib/osbuild/stages/org.osbuild.fstab
/usr/lib/osbuild/stages/org.osbuild.groups
/usr/lib/osbuild/stages/org.osbuild.grub2
/usr/lib/osbuild/stages/org.osbuild.hostname
/usr/lib/osbuild/stages/org.osbuild.ignition
/usr/lib/osbuild/stages/org.osbuild.implantisomd5
/usr/lib/osbuild/stages/org.osbuild.kernel-cmdline
/usr/lib/osbuild/stages/org.osbuild.keymap
/usr/lib/osbuild/stages/org.osbuild.kickstart
/usr/lib/osbuild/stages/org.osbuild.locale
/usr/lib/osbuild/stages/org.osbuild.lorax-script
/usr/lib/osbuild/stages/org.osbuild.noop
/usr/lib/osbuild/stages/org.osbuild.oci-archive
/usr/lib/osbuild/stages/org.osbuild.ostree.commit
/usr/lib/osbuild/stages/org.osbuild.ostree.init
/usr/lib/osbuild/stages/org.osbuild.ostree.preptree
/usr/lib/osbuild/stages/org.osbuild.ostree.pull
/usr/lib/osbuild/stages/org.osbuild.resolv-conf
/usr/lib/osbuild/stages/org.osbuild.rhsm
/usr/lib/osbuild/stages/org.osbuild.rpm
/usr/lib/osbuild/stages/org.osbuild.selinux
/usr/lib/osbuild/stages/org.osbuild.sysconfig
/usr/lib/osbuild/stages/org.osbuild.systemd
/usr/lib/osbuild/stages/org.osbuild.tar
/usr/lib/osbuild/stages/org.osbuild.test
/usr/lib/osbuild/stages/org.osbuild.timezone
/usr/lib/osbuild/stages/org.osbuild.users
/usr/lib/osbuild/stages/org.osbuild.xorrisofs
/usr/lib/osbuild/stages/org.osbuild.zipl
/usr/share/licenses/osbuild
/usr/share/licenses/osbuild/LICENSE
/usr/share/man/man1/osbuild.1.gz
/usr/share/man/man5/osbuild-manifest.5.gz
/usr/share/osbuild/schemas
/usr/share/osbuild/schemas/osbuild1.json
/usr/share/osbuild/schemas/osbuild2.json
References
Summary
In this tutorial we learn how to install osbuild
on Fedora 34 using yum and dnf.