How to enable the IMAP c-client libraries, for use by all apps on my VPS server?

Go to WHM >> Software >> Apache Update, and click on "Load Previous Config" button (if exists), check the checkbox on the "Imap Module" line and then click "Start Build" button at the bottom of the screen.