How to install package from a .tar.lz file

7,331

tar (child): lzip: Cannot exec: No such file or directory

tar complains that it can't find and execute lzip. I suggest to install lzip first.

Share:
7,331

Related videos on Youtube

Hashim Aziz
Author by

Hashim Aziz

Updated on September 18, 2022

Comments

  • Hashim Aziz
    Hashim Aziz over 1 year

    I'm using bash (Cygwin, specifically). I'm trying to install GNU dd_rescue, which comes in a .tar.lz archive file.

    When I use:

    tar -xzf ddrescue-1.22.tar.lz
    

    ...it returns with the following error:

    gzip: stdin: not in gzip format
    tar: Child returned status 1 tar:
    Error is not recoverable: exiting now

    When I use:

    tar --lzip -xf ddrescue-1.22.tar.lz
    

    ...it returns with:

    tar (child): lzip: Cannot exec: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now

    How can I extract and install a package from an lzip archive file?

  • Hashim Aziz
    Hashim Aziz over 6 years
    Ah, so that's what that error meant. I just assumed lzip would be a part of the core utilities. Thanks.