How To Install patcher on Ubuntu 18.04

In this tutorial we learn how to install patcher on Ubuntu 18.04. patcher is perl script useful for managing patches

Introduction

In this tutorial we learn how to install patcher on Ubuntu 18.04.

What is patcher

patcher is:

patcher is a patch manager that keeps track of which files you change. It then can generate patches from your changes, no need for you to handle the diff tool manually.

The patches can be stacked in series, they define the order they have to be applied. Patcher keeps series information as well as information of which patches have been applied and which not.

Homepage http://www.holgerschurig.de/patcher.html

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

Install patcher Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install patcher

Install patcher Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install patcher

Install patcher 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install patcher

How To Uninstall patcher on Ubuntu 18.04

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

sudo apt-get remove patcher

Uninstall patcher And Its Dependencies

To uninstall patcher and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove patcher

Remove patcher Configurations and Data

To remove patcher configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge patcher

Remove patcher configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge patcher

References

Summary

In this tutorial we learn how to install patcher package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.