Fork me on GitHub
by lloyd
An easy to use, tiny, public domain, C wrapper library around Igor Pavlov's work that can be used to compress and extract lzma files.


easylzma is a small and portable C library which wraps Igor Pavlov's LZMA reference implementation. It comes with command line tools to compress and uncompress both lzip and LZMA-Alone disk formats. It's also as fast as any implementation out there (largely because it's based on Igor's recent C implementation of LZMA).


You can also clone the project with Git by running:

$ git clone git://

Example Programmatic Usage In C


All the cruft you find here is public domain. You don't have to credit anyone to use this code, but my personal request is that you mention Igor Pavlov for his hard, high quality work.


Lloyd Hilaiel (