Radare2 is a rewrite from scratch of radare in order to provide a set of libraries and tools to work with binary files.

Radare project started as a forensics tool, a script-able command-line hexadecimal editor able to open disk files, but later support for analyzing binaries, disassembling code, debugging programs, attaching to remote gdb servers, ..

Radare2 - Unix-like Reverse Engineering Framework And Command Line Tools

Required Dependencies

  • radare2 can be built without any special dependency, just use make and get a working toolchain (gcc, clang, tcc, ..)
  • Optionally you can use libewf for loading EnCase disk images.
  • To build the bindings you need latest valabind, g++ and swig2.

How To Install Radare2 Reverse Engineering Framework?

The easiest way to install radare2 from git is by running the following command:


If you want to install radare2 in the home directory without using root privileges and sudo, simply run:

Building with meson + ninja

The sys/install.sh method uses acr+make to build r2 from sources, which is the default and recommended way, but there’s also a work-in-progress support for Meson.

Run first the configuration process:

You can install last version of meson and ninja using r2pm:

You can install last version of meson and ninja using r2pm:

Or just run those lines if you have them available in PATH:

The PREFIX is inherited from the last run of ./configure, so it’s recommended to run sys/install.sh at least once to autodetect this, this step will end up into meson.

At the moment, the meson build system doesnt supports much configuration options and it is not able to build all the plugins, it has been tested to work on the following hosts:

  • Rpi3-arm32
  • macOS-x86-64
  • Termux/Android-arm64
  • VoidLinux-x86-64
  • Windows-x86-64

Download Radare2

Ebook – Radare2 Explorations

Online: https://monosource.gitbooks.io/radare2-explorations/content/
PDF: https://www.gitbook.com/download/pdf/book/monosource/radare2-explorations
ePub: https://www.gitbook.com/download/epub/book/monosource/radare2-explorations
Mobi: https://www.gitbook.com/download/mobi/book/monosource/radare2-explorations