How To Install xzdec on Ubuntu 20.04
Introduction
In this tutorial we learn how to install xzdec on Ubuntu 20.04.
What is xzdec
xzdec is:
XZ is the successor to the Lempel-Ziv/Markov-chain Algorithm compression format, which provides memory-hungry but powerful compression (often better than bzip2) and fast, easy decompression.
This package provides the xzdec and lzmadec utilities, which write the decompressed version of a compressed file to standard output. The binaries are very small, so they can be easily stored on small media with some compressed files, and they are linked statically against liblzma so they can be used on machines without a compatible version of liblzma installed. However, they have:
- no compression support;
- no support for writing to a file other than standard output;
- no translated messages;
- been optimized for size rather than speed.
For a full-featured xzcat command without these limitations, use the xz-utils package instead.
Package: xzdec Architecture: amd64 Version: 5.2.4-1 Multi-Arch: foreign Priority: optional Section: universe/utils Source: xz-utils Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Jonathan Nieder [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 191 Depends: libc6 (>= 2.4) Suggests: xz-utils Breaks: xz-lzma (« 4.999.9beta+20091004-1) Replaces: xz-lzma (« 4.999.9beta+20091004-1) Filename: pool/universe/x/xz-utils/xzdec_5.2.4-1_amd64.deb Size: 56788 MD5sum: d6f41505004216ff466f24daba83a4ec SHA1: 76be968107326cbcc507d4665836e29c11861143 SHA256: 5551262b93ee061708b542e90aeb73ed68da6b2811f9f7414bd6d81696230f74 Homepage: https://tukaani.org/xz/ Description-en: XZ-format compression utilities - tiny decompressors XZ is the successor to the Lempel-Ziv/Markov-chain Algorithm compression format, which provides memory-hungry but powerful compression (often better than bzip2) and fast, easy decompression.
This package provides the xzdec and lzmadec utilities, which write the decompressed version of a compressed file to standard output. The binaries are very small, so they can be easily stored on small media with some compressed files, and they are linked statically against liblzma so they can be used on machines without a compatible version of liblzma installed. However, they have:
- no compression support;
- no support for writing to a file other than standard output;
- no translated messages;
- been optimized for size rather than speed.
For a full-featured xzcat command without these limitations, use the xz-utils package instead.
There are three methods to install xzdec on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install xzdec Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install xzdec using apt-get by running the following command:
sudo apt-get -y install xzdec
Install xzdec Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install xzdec using apt by running the following command:
sudo apt -y install xzdec
Install xzdec Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install xzdec using aptitude by running the following command:
sudo aptitude -y install xzdec
How To Uninstall xzdec on Ubuntu 20.04
To uninstall only the xzdec package we can use the following command:
sudo apt-get remove xzdec
Uninstall xzdec And Its Dependencies
To uninstall xzdec and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove xzdec
Remove xzdec Configurations and Data
To remove xzdec configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge xzdec
Remove xzdec configuration, data, and all of its dependencies
We can use the following command to remove xzdec configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xzdec
References
Summary
In this tutorial we learn how to install xzdec package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.