How To Install debdelta on Debian 10

Learn how to install debdelta on Debian 10 with this tutorial. debdelta is diff and patch utilities which work with Debian packages

Introduction

In this tutorial we learn how to install debdelta on Debian 10.

What is debdelta

debdelta is:

debdelta is a program suite designed to compute changes between Debian packages. These changes (deltas) are similar to the output of the “diff” program in that they may be used to store and transmit only the changes between Debian packages.

This suite contains ‘debdelta-upgrade’, that downloads deltas and use them to create all Debian packages needed for an ‘apt-get upgrade’. It may be used in a Debian/unstable host (to speed up download of new packages), or in a Debian/stable host (for security updates).

Similarly, when this package is installed, the ‘cupt’ package manager will use deltas to upgrade the host.

There are three methods to install debdelta on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install debdelta Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install debdelta using apt-get by running the following command:

sudo apt-get -y install debdelta

Install debdelta Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install debdelta using apt by running the following command:

sudo apt -y install debdelta

Install debdelta Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install debdelta using aptitude by running the following command:

sudo aptitude -y install debdelta

How To Uninstall debdelta on Debian 10

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

sudo apt-get remove debdelta

Uninstall debdelta And Its Dependencies

To uninstall debdelta and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove debdelta

Remove debdelta Configurations and Data

To remove debdelta configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge debdelta

Remove debdelta configuration, data, and all of its dependencies

We can use the following command to remove debdelta configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge debdelta

Dependencies

debdelta have the following dependencies:

References

Summary

In this tutorial we learn how to install debdelta package on Debian 10 using different package management tools: apt, apt-get and aptitude.