snzip - hadoop-snappy unzip files on the Linux command-line tool

On Debian 9 system to compile and install command to extract the file snappy line tool.

Download compiling dependencies

$ sudo apt-get install libsnappy-dev

Download the source code to compile and install

https://github.com/kubo/snzip

tar xvfz snappy-1.1.3.tar.gz
cd snappy-1.1.3
./configure --prefix=/usr/local/snappy
make
make install

unzip files

# 解压hadoop-snappy格式文件
snzip -d file_name.snappy

Other file compression / decompression command of reference GitHub README.

Guess you like

Origin blog.51cto.com/xjhznick/2473070