How to install package from a .tar.lz file

3

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

Posted 2018-01-15T22:20:27.233

Reputation: 6 967

Answers

3

I suggest to install lzip first.

Cyrus

Posted 2018-01-15T22:20:27.233

Reputation: 4 356

Ah, so that's what that error meant. I just assumed lzip would be a part of the core utilities. Thanks. – Hashim – 2018-01-15T22:37:26.597