Compile and Use 7z on Solaris
What is 7z:
7-Zip is a file archiver with a high compression ratio.
7z home page: http://www.7-zip.org/
Download 7z source code(7zXXX.tar.bz2) from :
http://sourceforge.net/project/showfiles.php?group_id=14481
Compile on Solaris:
Uncomprese source file, then:
1>cp makefile.solaris_x86 makefile.machine.
2>set up CBE env.
3>make
4>make install
Usage simple:
7za a archive.7z myfile
compress and archive myfile to archive.7z
7za x archive.7z:
: extracts all files from archive archive.7z
to the current directory
You can see Readme have more detail information.








Or just use the one that is already integrated in recent OpenSolaris distros including SXDE: /usr/bin/7z from the SUNWp7zip package.
Posted by Darren Moffat on February 14, 2008 at 09:28 PM CST #