OnWorks favicon

xzdec - Online in the Cloud

Run xzdec in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command xzdec that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



xzdec, lzmadec - Small .xz and .lzma decompressors


xzdec [option]... [file]...
lzmadec [option]... [file]...


xzdec is a liblzma-based decompression-only tool for .xz (and only .xz) files. xzdec is
intended to work as a drop-in replacement for xz(1) in the most common situations where a
script has been written to use xz --decompress --stdout (and possibly a few other commonly
used options) to decompress .xz files. lzmadec is identical to xzdec except that lzmadec
supports .lzma files instead of .xz files.

To reduce the size of the executable, xzdec doesn't support multithreading or
localization, and doesn't read options from XZ_DEFAULTS and XZ_OPT environment variables.
xzdec doesn't support displaying intermediate progress information: sending SIGINFO to
xzdec does nothing, but sending SIGUSR1 terminates the process instead of displaying
progress information.


-d, --decompress, --uncompress
Ignored for xz(1) compatibility. xzdec supports only decompression.

-k, --keep
Ignored for xz(1) compatibility. xzdec never creates or removes any files.

-c, --stdout, --to-stdout
Ignored for xz(1) compatibility. xzdec always writes the decompressed data to
standard output.

-q, --quiet
Specifying this once does nothing since xzdec never displays any warnings or
notices. Specify this twice to suppress errors.

-Q, --no-warn
Ignored for xz(1) compatibility. xzdec never uses the exit status 2.

-h, --help
Display a help message and exit successfully.

-V, --version
Display the version number of xzdec and liblzma.


0 All was good.

1 An error occurred.

xzdec doesn't have any warning messages like xz(1) has, thus the exit status 2 is not used
by xzdec.


Use xz(1) instead of xzdec or lzmadec for normal everyday use. xzdec or lzmadec are meant
only for situations where it is important to have a smaller decompressor than the full-
featured xz(1).

xzdec and lzmadec are not really that small. The size can be reduced further by dropping
features from liblzma at compile time, but that shouldn't usually be done for executables
distributed in typical non-embedded operating system distributions. If you need a truly
small .xz decompressor, consider using XZ Embedded.

Use xzdec online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 2
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 3
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Download libusb
  • 4
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    Download SWIG
  • 5
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 6
    Package repo for ArchLabs This is an
    application that can also be fetched
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • More »

Linux commands