I believe centos is based off of linux. As for your question you might have to do this compression manually.
How to open rar files