How To Install deltarpm on Fedora 34

deltarpm is Create deltas between rpms

Introduction

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

What is deltarpm

A deltarpm contains the difference between an old and a new version of a rpm, which makes it possible to recreate the new rpm from the deltarpm and the old one. You don’t have to have a copy of the old rpm, deltarpms can also work with installed rpms.

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

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

sudo dnf -y install deltarpm

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

sudo yum -y install deltarpm

How To Uninstall deltarpm on Fedora 34

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

sudo dnf remove deltarpm

deltarpm Package Contents on Fedora 34

/usr/bin/applydeltarpm
/usr/bin/combinedeltarpm
/usr/bin/makedeltarpm
/usr/bin/rpmdumpheader
/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/a88838f7f42ba5e2202f10a2ab5c93b59d1c5b
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/5bbe47506d1c31a459c95ce34e2e3e4a883c89
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/4ffa24bee682e4e51fb5fd5e0a7edfba2bb3c0
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/8e0bcaacd6c5bac380fad74c2b25ba202e2c68
/usr/share/doc/deltarpm
/usr/share/doc/deltarpm/NEWS
/usr/share/doc/deltarpm/README
/usr/share/licenses/deltarpm
/usr/share/licenses/deltarpm/LICENSE.BSD
/usr/share/man/man8/applydeltarpm.8.gz
/usr/share/man/man8/combinedeltarpm.8.gz
/usr/share/man/man8/makedeltarpm.8.gz

References

Summary

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