How To Install lzma-sdk on CentOS 7
Introduction
In this tutorial we learn how to install lzma-sdk on CentOS 7.
What is lzma-sdk
LZMA SDK provides the documentation, samples, header files, libraries, and tools you need to develop applications that use LZMA compression. LZMA is default and general compression method of 7z format in 7-Zip compression program (www.7-zip.org). LZMA provides high compression ratio and very fast decompression. LZMA is an improved version of famous LZ77 compression algorithm. It was improved in way of maximum increasing of compression ratio, keeping high decompression speed and low memory requirements for decompressing.
We can use yum or dnf to install lzma-sdk on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install lzma-sdk.
Install lzma-sdk on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install lzma-sdk using yum by running the following command:
sudo yum -y install lzma-sdk
Install lzma-sdk on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install lzma-sdk using dnf by running the following command:
sudo dnf -y install lzma-sdk
How To Uninstall lzma-sdk on CentOS 7
To uninstall only the lzma-sdk package we can use the following command:
sudo dnf remove lzma-sdk
References
Summary
In this tutorial we learn how to install lzma-sdk on CentOS 7 using yum and dnf.