Error! Some required system tools when trying to apply Magento patches via SSH

The question:

I have been trying to apply some Magento patches via SSH (SUPEE-5344 and SUPEE-1533) from the Magento Community Edition download page (

I am running in a SSH session:


but keep getting the following error:

Error! Some required system tools, that are utilized in this sh script, are not installed:
Tool(s) “patch” is(are) missed, please install it(them).

I have tried applying earlier patches but receive the same error message. How do I resolve this to apply the patches?

The Solutions:

Below are the methods you can try. The first solution is probably the best. Try others if the first one doesn’t work. Senior developers aren’t just copying/pasting – they read the methods carefully & apply them wisely to each case.

Method 1

The solution is to install the patch package:

yum install patch

or zypper install patch for OpenSUSE LINUX.

Then run sh the patch file:


Checking if patch can be applied/reverted successfully…
Patch was applied/reverted successfully.

Repeat for all missing patches.

Note: I provided this as I spent quite a bit of time on this before realizing that the error being thrown wasn’t for a previous patch but for the patch package itself.

Method 2

I found a possible solution for those who have no SSH access, or having difficulties using sh command to apply for the patch: (community edition)

With the successful update on the local machine, find the 5 files on your local machine which have the updates:






upload these files to your server using FTP, and patches are done!

To me, this is a safer option to apply for the patches.

Pls correct me if I am wrong!

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Comment