This content has been marked as final. Show 1 reply
ZIP and RAR are competitive products and use different compression tools and formats. RAR is not installed by default in any Linux distribution and you need to install it. While tools to extract RAR are free, creating RAR is usually not. Availability and installation depends on your Linux system, which requires that you provide information about your system in order to answer your question. ZIP is free, a common standard and available for any computer system.
You can create a zip archive using the following command:
Standard under Linux and Unix systems is usually TAR and GZIP. For instance:
zip -9r archive.zip directory_or_file
tar -zcvf archive.tgz directory_or_file