add yum support

This patch allows install Critic on Linux RedHat