0

I am trying to install Magento 2.2 patch on my site.

Showing error like this.

root@server www/html# patch -p1 < PRODSECBUG-2198-2.2-CE-2019-03-25-08-43-16.patch
-bash: patch: command not found

How to proceed further.?

0

You don't have the patch command installed in your server. So you can install it with the following commands.

sudo apt-get install patch for ubuntu or

sudo yum install patch for centos

0

You do not have the patch program on your server. It needs installed based on your current package manager for example.

sudo apt-get update && sudo apt-get install patch

Be very careful running patches in production, you should be versioning all your changes. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.