r>
<td>Ubuntu</td>
<td>‘libzstd-dev`</td>
</tr>
<tr>
<td>CentOS</td>
<td>‘libzstd-devel`</td>
</tr>
<tr>
<td>ArchLinux</td>
<td>‘zstd`</td>
</tr>
<tr>
<td>OSX</td>
<td>‘zstd`</td>
</tr>
</tbody>
</table>

<pre class="ruby"><span class="ruby-identifier">gem</span> <span class="ruby-identifier">install</span> <span class="ruby-identifier">ruby</span><span class="ruby-operator">-</span><span class="ruby-identifier">zstds</span>
</pre>

<p>You can build it from source.</p>

<pre>rake gem
gem install pkg