How to reinstall all EasyApache packages

Sometimes it may be required to reinstall EasyApache packages. For example, this could be required after recovering from file system corruption or failure. This article covers how to reinstall every EasyApache package all at once from the command line.


1) Log in to SSH as root, or access the Terminal in WHM. More information about using the Terminal in WHM can be found below.

Using Terminal To Access the Command Line

2) Run the following command.

yum reinstall $(rpm -qa --qf "%{NAME}\n"|grep ^ea-|while read pkg;do echo -n "$pkg ";done)

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat