Summary on the commands used to zip and unzip for the various zip formats:
7-zip - app-arch/p7zip
ace - app-arch/unace
arj - app-arch/arj
cpio - app-arch/cpio
deb - app-arch/dpkg
iso - app-cdr/cdrtools
jar,zip - app-arch/zip and app-arch/unzip
lha - app-arch/lha
lzma - app-arch/xz-utils
lzop - app-arch/lzop
rar - app-arch/unrar
rpm - app-arch/rpm
zoo - app-arch/zoo
unstuff - app-arch/stuffit
lz4 - app-arch/lz4
There are some zip front ends as file-roller used in gnome that make use on the packages listed above.
Atool tries to do what a user expects. Certain archives scatter files allover the place when extracting. atool avoids this by putting always all into a directory. man atool shows all programs coming with atool.
Uses extensions as bz2. The tools are:
bzcat to unzip.
But there is also bzip2 and bunzip2. See man bzip2
Extract tar: tar –xzf<filename>
.tar
Extract tar.gz: tar -xzf<filename>
.tar.gz
Create tar.gz of a directory that is inside the current directory tar -czf<file name>
.tar.gz <directory name>
Extract tgz: tar xvzf<filename>
.tgz