7-Zip for PASE
This is a compiled copy of the Unix command-line version of 7-zip (known as p7zip.) I created it by installing an AIX version of the GNU C compiler in PASE, and then using that compiler to build 7-zip. It supports the creation and extraction of archives in 7Z, ZIP, GZIP, BZIP2, and TAR formats. It supports extraction only for ARJ, CAB, CHM, CPIO, DEB, DMG, HFS, ISO, LZH, LZMA, MSI, NSIS, RAR, RPM, UDF, WIM, XAR and Z formats. Strong encryption of 256-bit AES is available in 7Z and ZIP formats.
This software is open source, released under the GNU LGPL license, with some restrictions. Click here for full license details.
I have written the following article about using 7-Zip on i. This article is © copyright by Penton Media, and published on System iNetwork:
7-zip requires OS/400 V5R3 or later. (I think? Can anyone verify this? Does it work on V5R1? V5R2?) You must have PASE installed.
Download the preceding files to your IFS. (For the sake of example, I'm assuming you downloaded them to the /tmp directory.)
Make sure the download was done in a binary-safe fashion (such as HTTP, FTP in binary mode, SCP, NFS, Windows Networking with Netserver translation off, etc.)
Log on to your i with an account with high authority. (Is *ALLOBJ required? Does anyone know?)
type the following:
- CALL QP2TERM
- cd /tmp
- uncompress p7zip.tar.Z
- cd /
- tar xf /tmp/p7zip.tar
At this point, 7-zip should be installed. Everything is located in /var/opt/p7zip, except for two symbolic links that are under /QOpenSys/usr/bin. Try it out!
If you are having trouble, receiving an error about "libstdc++.so.6" that's causing p7zip to fail, please try downloading/installing a new copy, from above. This problem was corrected on May 23,2013.
If you are still having trouble, the best place to seek assistance is in the Code400 forums: