yum install p7zip

7za -v25m a archive.7z directory/

Advertisements