How to Install and Uninstall xz.x86_64 Package on Amazon Linux 2

Last updated: January 09,2025

1. Install "xz.x86_64" package

This is a short guide on how to install xz.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install xz.x86_64

2. Uninstall "xz.x86_64" package

Please follow the instructions below to uninstall xz.x86_64 on Amazon Linux 2:

$ sudo yum remove xz.x86_64 $ sudo yum autoremove

3. Information about the xz.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : xz
Arch : x86_64
Version : 5.2.2
Release : 1.amzn2.0.2
Size : 229 k
Repo : amzn2-core/2/x86_64
Summary : LZMA compression utilities
URL : http://tukaani.org/xz/
License : LGPLv2+
Description : XZ Utils are an attempt to make LZMA compression easy to use on
: free (as in freedom) operating systems. This is achieved by
: providing tools and libraries which are similar to use than the
: equivalents of the most popular existing compression algorithms.
:
: LZMA is a general purpose compression algorithm designed by Igor
: Pavlov as part of 7-Zip. It provides high compression ratio while
: keeping the decompression speed fast.