Results 1 to 5 of 5

Thread: Uncompress .tar.xz

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Beans
    3

    Uncompress .tar.xz

    Hello All

    I am trying to uncompress a .tar.xz file.

    Can somebody suggest me a command as tar -Jxf <filename> gives me an error.

    anusha@anusha-laptop:/usr/src/gcc-4.4$ tar -Jxf gcc-4.4.3.tar.xz
    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

    Thanks,
    Aravind.

  2. #2
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: Uncompress .tar.xz

    You can man xz to see your options.

    Drop the tar and use:

    Code:
    xz -dl <filename>

    Then use tar.

  3. #3
    Join Date
    Apr 2005
    Location
    Muntinlupa City
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Uncompress .tar.xz

    use the command:

    unxz <file.tar.xz>

    then use tar to decompress.

  4. #4
    Join Date
    Jun 2006
    Location
    Antarctica
    Beans
    500
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Uncompress .tar.xz

    unxz -c file.tar.xz | tar xv

  5. #5
    Join Date
    Aug 2010
    Beans
    102

    Re: Uncompress .tar.xz

    Open synaptic and check if you've got installed:
    xz-utils
    If not, install it.

    If you want you may do this in terminal:
    sudo apt-get update
    sudo apt-get install xz-utils

    then, right-click and extract
    or, in terminal:
    $ tar -Jxf [filename]
    “Do not wait for leaders; do it alone, person to person.” Mother Theresa

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •