how install patch ubuntu

ubuntu

patch

Apply a diff file to an original
http://savannah.gnu.org/projects/patch/
Install sudo apt install patch
Description:

Patch will take a patch file containing any of the four forms of difference listing produced by the diff program and apply those differences to an original file, producing a patched version.