This guide is designed to take a vanilla cloud fedora 24 install and create a pypy virtualenv with angr installed
- Install Fedora-level dependencies:
# dnf -y install python-virtualenvwrapper pypy
- Install the virtual environment
$ mkvirtualenv -p $(which pypy) angr-pypy
- Install angr itself
(angr-pypy)[] $ pip install angr
- Fix the environment. Ensure you're "working on" the virutalenv (
workon angr-pypy
)
(angr-pypy)[] $ find . -name libcapstone.so -exec mv {} $VIRTUAL_ENV/site-packages/capstone/ \;
- Verify the installation
(angr-pypy)[] $ pypy -c "import angr"
Works on Fedora 26, too.