Sample Header Ad - 728x90

How to use 'unsquashfs' with lzma?

4 votes
2 answers
14919 views
I'm using Ubuntu 12.04. I want to unsquash an lzma image. I have done sudo apt-get squashfs-tools Now, when I do unsquashfs I get Filesystem uses lzma compression, this is unsupported by this version I know my squashed image is lzma. How do I install support for lzma? I have downloaded the squashfs-tools from here: http://sourceforge.net/projects/squashfs/files/ It is my understanding that after extracting that tarball, I need to cd into squashfs4.2/squashfs-tools and edit the Makefile by uncommenting the line LZMA_XZ_SUPPORT = 1. Then I just need to run make. That does not work for me. I get the error: gzip_wrapper.c:23:18: fatal error: zlib.: No such file or directory I think I need to install lzma-devel and xz-devel. I have tried this and been Googling for a couple hours and haven't gotten anywhere or found any solid instructions that show how this should work. Can anyone who has done this help me out? I am new to desktop Linux so if you could be fairly verbose in your instructions that would be appreciated.
Asked by boltup_im_coding (213 rep)
Sep 12, 2013, 01:32 AM
Last activity: Aug 28, 2023, 02:47 PM