I am very new to linux platform and I want to extract gnutls for ubuntu. If I do,
$ls
then, it will show these files below.
gnutls-3.2.1.tar.lz
gnutls-3.2.1.tar.lz.sig
gnutls-3.2.1.tar.xz
gnutls-3.2.1.tar.xz.sig
When I give command,
$ tar -xvf gnutls-3.2.1.tar.xz
I get output,
tar: xz: Cannot exec: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
I want to extract these files.
gpgv <filename>.sig
command, it says public key is not found.Simply right-click the item you want to compress, mouseover compress, and choose tar. gz. You can also right-click a tar. gz file, mouseover extract, and select an option to unpack the archive.
To extract (unzip) a tar. xz file simply right-click the file you want to extract and select “Extract”. Windows users need a tool named 7zip to extract tar. xz files.
tar --lzip -xvf gmp-5.1.2.tar.lz
Worked for me
As mentioned below in the comments, you might have to install the library before the command will work:
sudo apt-get install lzip
Install lzip
.
Launch the following command that creates xxx.tar
file and deletes the xxx.tar.lz
file after extracting:
lzip -d xxx.tar.lz
Launch the following command to finally untar:
tar zxvf xxx.tar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With