Downloads
last release is 4.3.1
Recommended Install from Git:
git clone https://github.com/radare/radare2 cd radare2 sys/install.sh # just run this script to update r2 from git
Binaries:
Or use the nightly builds.
Releases:
Instructions:
Installation from tarball:
~ $ wget https://github.com/radare/radare2/archive/4.3.1.tar.gz ~ $ tar xzvf 4.3.1.tar.gz ~ $ cd radare2-4.3.1/ ~/radare2-4.3.1 $ ./configure --prefix=/usr ~/radare2-4.3.1 $ make -j8 ~/radare2-4.3.1 $ sudo make install
Uninstall:
To uninstall a r2 from a specific prefix run the following commands on the root directory of the radare2 source code:~ $ cd radare2 ~/radare2 $ ./configure --prefix=/usr ~/radare2 $ sudo make uninstallIn case you want to remove all previous installations purge it.
~/radare2 $ sudo make purgeTo uninstall on OSX you'll need to
~ $ sudo su - ~ # export PKG=org.radare.radare2 ~ # cd / / # pkgutil --files --only-files $PKG | xargs rm -f / # pkgutil --files --only-dirs $PKG | xargs rmdir / # pkgutil --forget $PKG
radare2
Advanced Hexadecimal Editor initially designed for forensics, but quickly evolved into a disassembler and debugger.~ $ git clone https://github.com/radare/radare2 ~ $ cd radare2 ~/radare2 $ sys/install.sh
radare2 extras
Yara, EWF, more archs, ... everything available via r2pm~ $ r2pm update
radare2 bindings
Support for r2pipe, duktape, python, nodejs, ruby, ...~ $ git clone https://github.com/radare/radare2-bindings ~ $ cd radare2-bindings ~ $ ./configure --prefix=/usr ~ $ cd python ~/python $ make ~/python $ sudo make installR2Pipe APIs
~ $ cd radare2-bindings/r2pipe/python ~/radare2-bindings/r2pipe/python $ python test.py
test suite
Testing every command, binary and operation is needed to avoid having regressions.~ $ git clone https://github.com/radare/radare2-regressions ~ $ cd radare2-regressions ~/radare2-regressions $ make
radare
The very old and original version of radare. Maintained for historial reasons.~ $ git clone https://github.com/radare/radare ~ $ cd radare ~/radare $ ./configure --prefix=/usr ~/radare $ make ~/radare $ sudo make install
valabind
The tool used to autogenerate the language bindings for SWIG, Ctypes, NodeJS, Dlang, Go~ $ git clone https://github.com/radare/valabind ~ $ cd valabind ~/valabind $ make ~/valabind $ sudo make install PREFIX=/usr
ired
Minimalistic hexadecimal editor designed to be used in scripts with pipes. Mimics some r2 commands.~ $ git clone https://github.com/radare/ired ~ $ cd ired ~/ired $ make ~/ired $ sudo make install PREFIX=/usr
sdb
String Database is a ondisk/memory hashtable based on CDB which operates with key-values of a single data type: strings.~ $ git clone https://github.com/radare/sdb ~ $ cd sdb ~/sdb $ make ~/sdb $ make -C tests
acr
AutoConfReplacement~ $ git clone https://github.com/radare/acr ~ $ cd acr ~/sdb $ ./configure --prefix=/usr ~/sdb $ make ~/sdb $ sudo make install