<p>It is recommended to use package.py because custom scripts will
invariably become out-of-date. If you want to write custom scripts
anyway, note an easy-to-miss point: some modules are written with CFFI,
and require some compilation. If you install PyPy as root without
pre-compiling them, normal users will get permission errors. This means
you need to run for example <ttclass="docutils literal">pypy <spanclass="pre">-c</span>“import gdbm”</tt> during the
installation process (see the exact list in <aclass="reference external"href="https://bitbucket.org/pypy/pypy/src/default/pypy/tool/release/package.py">package.py</a>). Users
seeing a broken installation of PyPy can also fix it after-the-fact, if
they have sudo rights, by running <ttclass="docutils literal">sudo pypy <spanclass="pre">-c</span>“import gdbm”</tt>.</p>