Install liblzma-dev by entering the following commands in the terminal:
sudo apt update sudo apt install liblzma-dev
Description:
XZ-format compression library - development files
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. . The native format of liblzma is XZ; it also supports raw (headerless) streams and the older LZMA format used by lzma. (For 7-Zip's related format, use the p7zip package instead.) This package provides the development library needed to build programs using liblzma.
Homepage: http://tukaani.org/xz/
Version: 5.2.2-1.3
Section: libdevel