PortableApps.com Carbide driveThe PortableApps.com Carbide is here! The Safest, Most Secure USB Flash Drive on Earth.
Military-grade hardware-encryption, water/shock/dust/tamper-resistant, 5 years of commercial USB antivirus, 5 year warranty, personalized, and PortableApps.com! 8GB, 16GB and 32GB starting at $89.95! Learn more and buy today!
Also: PA.c Companion (fast, affordable, colorful) | Please donate, so we can update & release new awesome apps!

Using 7-zip portable in a GPL app

computerfreaker's picture
computerfreaker
Developer
(Homepage) - October 16, 2009 - 11:40am

I'd like to use 7-zip portable in a GPL app (including bundling it with my app; of course I'd give credit to PortableApps.com); the thread located at http://portableapps.com/node/17673 makes me think I can do this, but I want to be sure...

Thanks!


( categories: )

licensing issues

7-Zip is released under the LGPL with unRAR restriction: http://www.7-zip.org/license.txt
The PortableApps launcher is released under the GPL: http://portableapps.com/apps/utilities/7-zip_portable

Depending on how you're using 7-Zip Portable, you may be able to bundle it with a commercial application; if you're actually linking to it in the code you're writing (instead of invoking 7-Zip Portable, sending it some parameters, and letting it do its thing) however it will need to be under the GPL.

If you don't need your users to use the 7-Zip GUI, however, it may be easier to do what the team behind AppCompactor did by bundling just 7za.exe, the stand-alone 7-Zip command-line client: http://www.7-zip.org/download.html
This program, like the 7-Zip GUI version, is licensed under the LGPL with unRAR restriction, so you can use it regardless of the license for your project.

The unRAR restriction prohibits people from using the freely-available but not freely-modifiable unRAR source code from the Roshals to reverse-engineer a way to create RAR files and thereby compete with RARlab's own WinRAR and command-line RAR products; this is why there are plenty of open-source products that can read RAR files but none that can make them.

informitive

thank you for the information!