[PYTHON] Install angr on Ubuntu 18.04

Introduction

I'm going to use angr, so I installed it. I will leave a note for the future.

environment

procedure

Various installations

When I looked at Official, it seems that virtualenv is strongly recommended, so I followed it.

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install python3-dev libffi-dev build-essential virtualenvwrapper

Rebooting the shell

After this, when I suddenly used mkvirtualenv, I was angry with command not found. I don't know the reason, but I solved it by restarting the shell (simply closing and reopening).

Building a virtual environment

Now that you should be able to use mkvirtualenv, set up a virtual environment.

mkvirtualenv --python=$(which python3) angr

installation of angr

And finally, add angr with pip.

pip install angr

Operation check

Enter the interactive shell with the python command and try to import.

import angr

Success if no error occurs.

How to use virtualenv (bonus)

When leaving the environment

deactivate

When entering this environment

workon angr

Finally

Next, I would like to use a simple example.

Recommended Posts

Install angr on Ubuntu 18.04
Install TensorFlow on Ubuntu
Install PySide2 on Ubuntu
Install Theano on Ubuntu 12.04
Install pip / pip3 on Ubuntu
Install GoLand IDE on Ubuntu
Install OpenCV on Ubuntu + python
wsl Install PostgreSQL on Ubuntu 18.04
[ROS] Install ROS (melodic) on Ubuntu (18.04)
Install Caffe on Ubuntu 14.04 (GPU)
Install Python 3.8 on Ubuntu 18.04 (OS standard)
Install Caffe on Ubuntu 14.04 (CPU mode)
Install Mecab and mecab-python3 on Ubuntu 14.04
Install and run dropbox on Ubuntu 20.04
Install OpenCV and Chainer on Ubuntu
Install CUDA 8.0 and Chainer on Ubuntu 16.04
Install Python 3.8 on Ubuntu 20.04 (OS standard)
Install fabric on Ubuntu and try
Install Python 3.9 on Ubuntu 20.04 (OS standard?)
Install confluent-kafka for Python on Ubuntu
Install Python 2.7 on Ubuntu 20.04 (OS standard?)
How to install Go on Ubuntu
ROS study # 1 Install ros-noetic on ubuntu 20.04
Shebang on Ubuntu 20.04
Steps to install Python environment on Ubuntu
Install Pleasant on Ubuntu 20.04 (.NetCore3.1 / PostgreSQL version)
Install ubuntu on 32bit UEFI Ultra Notebook
Install Caffe running 3D-CNN on clean Ubuntu 14.04
Install Puppet Master and Client on Ubuntu 16.04
How to install php7.4 on Linux (Ubuntu)
Install pyenv and Python 3.6.8 on Ubuntu 18.04 LTS
Install mecab on Marvericks
Install Tensorflow on Mac
I can't install Dask with pip on Ubuntu
Install Faiss on CentOS 7
Install pyenv on mac
Install pip on Mavericks
Install Python on Pidora.
Install mongodb on termux
Install Scrapy on python3
Install python package in personal environment on Ubuntu
Install docker on Fedora31
[Note] Install wxPython 3.x on Linux Mint (Ubuntu)
Install numba on CentOS 7.2
Install Ansible on Mac
Install Python on Mac
Install Python 3 on Mac
Install Plone (4.3.6) on MacOSX (10.10.3)
Install Python3.4 on CentOS 6.6
Install Docker (Ubuntu 18.04 LTS)
Install gensim on Marvericks
Install GPU-enabled LightGBM (Ubuntu 16.04)
Install the latest Cuda + CuDNN on Ubuntu 18.04 @ Spring 2020
Install Anaconda on Windows 10
Install python on windows
Install enebular-agent on Chromebook
Install pycuda on Windows10
Install mecab-python on CentOS
Install aws-cli on MacPorts
Install pygraphviz on Windows 10
Install Docker on AWS