<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Snzip基于 snappy 的壓縮/解壓工具

          聯(lián)合創(chuàng)作 · 2023-09-29 16:34

          Snzip 是使用 snappy 的命令行工具。它支持幾種文件格式;framing-format、old framing-format、hadoop-snappy、raw 以及在官方 framing-format 定義之前由 snzip、snappy-java 和 snappy-in-java 使用的三種格式。

          值得注意的變化

          默認(rèn)格式在 1.0.0 中改為 framing-format。 可以將 --with-default-format=snzip 作為 configure 選項(xiàng)來(lái)使用以前的 snzip 格式作為默認(rèn)格式。

          安裝

          從 tar-ball 安裝

          從 https://github.com/kubo/snzip/releases 下載 snzip,解壓然后運(yùn)行 ??configure。

          tar xvfz snzip-1.0.4.tar.gz
          cd snzip-1.0.4
          ./configure
          make
          make install

          如果沒(méi)有在/usr或 /usr/local下安裝 snappy,則需要--with-snappy按如下方式指定位置。

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

          當(dāng)動(dòng)態(tài)和靜態(tài) snappy 庫(kù)都可用時(shí),默認(rèn)使用前者。當(dāng)--with-static-snappy作為配置選項(xiàng)傳遞時(shí),使用后者。

          注意:--with-static-snappy在某些平臺(tái)上不可用。可以使用--with-default-format更改默認(rèn)壓縮格式。

          ./configure --with-default-format=snzip 

          安裝為 rpm 包

          我們不提供 rpm 包。你需要從 https://github.com/kubo/snzip/releases 下載 snzip,創(chuàng)建一個(gè)如下的 rpm 包并安裝它。

          # The rpm package will be created under $HOME/rpmbuild/RPMS.
          rpmbuild -tb snzip-1.0.4.tar.gz 

          從最新源安裝

          使用 github 存儲(chǔ)庫(kù)中的源代碼。

          git clone git://github.com/kubo/snzip.git cd snzip ./autogen.sh ./configure make make install 
          
          瀏覽 63
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  国产精品嫩草AV城中村 | 国产三级精品视频 | 操逼黄色网址 | 国产又白又嫩又爽又黄 | 久久精品三级AV |