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 Running on i
Important Links
Download
 
Package Download File Size Format Platform
p7zip 4.65 p7zip.tar.Z 5.2 MB Exec/Binary AIX 5.2/PASE V5R3
 
Requirements

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.

  1. Download the preceding files to your IFS. (For the sake of example, I'm assuming you downloaded them to the /tmp directory.)

  2. 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.)

  3. Log on to your i with an account with high authority. (Is *ALLOBJ required? Does anyone know?)

  4. type the following:

    • CALL QP2TERM
    • cd /tmp
    • uncompress p7zip.tar.Z
    • cd /
    • tar xf /tmp/p7zip.tar
    • /var/opt/p7zip/bin/mklinks.sh

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!

Having Trouble?

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:
http://www.code400.com/forum/forum.php