Uh... You shouldn't have to install libyaml from a tarball just because you don't have homebrew. The equivalent of<p><pre><code> sudo apt-get install libyaml libyaml-dev
</code></pre>
or for you hat-wearing folks<p><pre><code> sudo yum install libyaml libyaml-devel
</code></pre>
should work just fine.