{"id":171,"date":"2013-12-04T06:38:05","date_gmt":"2013-12-04T06:38:05","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=171"},"modified":"2016-01-28T11:40:38","modified_gmt":"2016-01-28T11:40:38","slug":"how-to-open-xz-file-in-linuxunix","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/how-to-open-xz-file-in-linuxunix.html","title":{"rendered":"How to open .xz file in Linux\/Unix?"},"content":{"rendered":"<p>.xz is a lossless file compression program that uses LZMA2 compression algorithm. xz is sort of stripped down version of 7-Zip program, although it has its own file format .7z<\/p>\n<p>.xz compresses single file input and does not bundle multiple file in single archive. It is therefore a regular practice to use an archiving technique along with .xz compression. In Linux\/Unix it is popularly, tar.<\/p>\n<p><strong>How to open\/decompress\/extract .tar.xz file?<\/strong><\/p>\n<p><code>$ tar -xJf yourfile.tar.xz<\/code><\/p>\n<p>-J is the flag to handle .xz files in tar program.<\/p>\n<p>Although, modern tar program can automatically determine what compression technique is used and apply thereby. You can simply run the following and it should work<\/p>\n<p><code>$ tar -xf yourfile.tar.xz<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>.xz is a lossless file compression program that uses LZMA2 compression algorithm. xz is sort of stripped down version of 7-Zip program, although it has its own file format .7z .xz compresses single file input and does not bundle multiple file in single archive. It is therefore a regular practice to use an archiving technique &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/how-to-open-xz-file-in-linuxunix.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to open .xz file in Linux\/Unix?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,12,21,25],"tags":[],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/171"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":1,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":262,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/171\/revisions\/262"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}