In UNIX, tar is the most useful tool to compress files (just like zip in Windows.)
To compress, input:
tar -cvzf file.tar.gz inputfile1 inputfile2
to uncompress, input:
tar -xvzf file.tar.gz