Questions tagged [xz]

xz is a lossless data compression program and file format which incorporates the LZMA/LZMA2 compression algorithms

XZ Utils (previously LZMA Utils) is a set of free command-line lossless data compressors, including LZMA and xz, for Unix-like operating systems and, from version 5.0 onwards, Microsoft Windows.

105 questions
0
votes
1 answer

Do you need to use tar before using xz/gz when distributing software?

Most software, when not in a package such as .deb, comes in .tar.gz or .tar.xz. Is it necessary to use tar before using xz or gz? What are the advantages of doing that?
circl
  • 121
  • 8
0
votes
1 answer

How to set default params for xz archiver?

By default xz compressor uses single thread (eg. to compress newly created packages from AUR). There's a --threads option for using more threads. Where can I set global settings for xz so that threads option is set to my value? Could'nt find any…
minder
  • 2,059
  • 5
  • 24
  • 39
0
votes
1 answer

Ubuntu 18.04: Cannot extract downloaded tar.xz file with a single command

I am trying to download and extract tar.xz file with a single line command. However, it doesn't consistently work for all of the links. I can manually download and extract it. I am able to download glibc and extract without any issue. curl…
sam
  • 57
  • 10
0
votes
2 answers

How to configure and build lzma on CentOS 6?

I am trying to configure and build lzma version 5.0.3 or higher on CentOS 6. I try install R version 3.5.2. ./configure --enable-R-shlib But this error Checking if lzma version >= 5.0.3... no I installed lzma version 4.999.
sangkim
  • 11
  • 1
  • 3
0
votes
2 answers

A non-painful way to compile lzma library on Windows with Cmake/CLion?

I have spent 2 days on this problem, and still have no idea how to do it. All I am trying to do is build a program, or rather function, in C that would take in a compressed lzma file, and extract it on Windows. I am doing it with CLion, with Cygwin…
0
votes
0 answers

How to compress the files to .xz format in macOS app Objective c

I am trying build an archiver app where zip, 7z, xz etc formats will be compressed i have achieved zip & 7z but finding difficulty in .xz format. I've found XZ utils-The Tukaani Project i was able to compress with this but while trying to unarchive…
osxDev123
  • 21
  • 4
0
votes
1 answer

xzcat version XZ_5.2 not found

I'm getting the following error when running buildroot on a project that is working for other developers in my group. I get the same error if I run xz --version. xzcat: /lib/x86_64-linux-gnu/liblzma.so.5: version 'XZ_5.2' not found (required by…
Jeffrey Urban
  • 61
  • 2
  • 5
0
votes
1 answer

.XZ file with swift on apple tv

i like to decompress an .xz file format in my xcode project. Has this already implemented one? i used so until now GzipSwift Alamofire.request("http:.../file.xz", parameters: nil) //Alamofire defaults to GET requests .response { response in …
pbaudi
  • 1
  • 1
0
votes
1 answer

Compressing Directory tree into multiple tar archives into a single xz

I'm trying to compress a large rootdir which contains many subdir_i the folder tree looks like: ./rootdir ./rootdir/subdir_1 ./rootdir/subdir_2 ... I am looking to output this to a single compressed archive but having each subdirectory in it's own…
adjpayot
  • 173
  • 2
  • 5
0
votes
2 answers

Catch NSMallocExceptioni using swift

From time to time my users find this error: myapp(7383,0x1a1471000) malloc: * mach_vm_map(size=67125248) failed (error code=3) error: can't allocate region set a breakpoint in malloc_error_break to debug 2017-04-06 20:33:58.152…
Vyacheslav
  • 26,359
  • 19
  • 112
  • 194
0
votes
1 answer

In linux how to archive and compress multiple files into one and remove source files?

I have below files in a directory. file001 file002 . . file009 I need to compress them into one and remove original/source files (file001 .. file009) so I can free up some disk space. This is what I did: Archived all files into one using below…
Hasan Rumman
  • 577
  • 1
  • 6
  • 16
0
votes
1 answer

Decompressing big-endian xz file

I have a big-endian zImage file that I dumped from a flash chip. I dug through the hex dump of zImage and found an xz header (FD 37 7A 58 5A 00), leading me to believe it was compressed with xz. 01c2010 4d00 8c5d 0000 0000 4d00 4a60 0000…
Dylan Leggio
  • 51
  • 1
  • 2
0
votes
1 answer

zipx with xz compression(95)

When using zipx with xz, zip format will be same, only compression method changes to 5F, right? But my doubt is, when i want to compress a folder with multiple file, how does zip do it using xz? Because, xz only supports to compress one single…
theCrow
  • 176
  • 3
  • 13
0
votes
0 answers

update packages on red hat without internet connection

I am using Red Hat 6.4 without internet connection. I am trying to install R using CRAN. While I install some dependencies are needed. Some of them are already installed on the server. The issue is when I installed the one of dependency. For…
Bryan K.
  • 173
  • 1
  • 4
  • 14
0
votes
1 answer

How to programmatically decompress .tar.xz file (without intermediates) in ruby running on ubuntu 14.04?

SO... I am writing a ruby script to initialize a production host in order to run an application (create user groups, users, SSH keys, etc.) and I am stuck on installing NPM / Node. I don't want to use a package manager to install it, but rather…
Lane
  • 685
  • 2
  • 10
  • 25