How To Install deltarpm on CentOS 7

In this tutorial we learn how to install deltarpm on CentOS 7. deltarpm is Create deltas between rpms

Introduction

In this tutorial we learn how to install deltarpm on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install deltarpm.

Install deltarpm on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install deltarpm

Install deltarpm on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install deltarpm

How To Uninstall deltarpm on CentOS 7

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

sudo dnf remove deltarpm

References

Summary

In this tutorial we learn how to install deltarpm on CentOS 7 using yum and dnf.