Install latest/stable of radare2
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install radare2 --classic
Don't have snapd? Get set up for snaps.
Radare2 (also known as r2) is a complete framework for reverse-engineering and analyzing binaries; composed of a set of small utilities that can be used together or independently from the command line. Built around a disassembler for computer software which generates assembly language source code from machine-executable code, it supports a variety of executable formats for different processors and operating systems. Apart from the static analysis feature it also supports debugging and emulation. The architecture of the framework is modular and allows to use existing or create new plugins for new file formats, architectures, analysis features.
This snap build contains all radare2 commands as: radare2.<command>
(ex: radare2.rasm2
).
To allow using radare commands without this prefix, it can be solved by using shell aliases.
So as an example could be something like this:
alias r2=radare2.r2
alias r2agent=radare2.r2agent
alias r2frida-compile=radare2.r2frida-compile
alias r2p=radare2.r2p
alias r2pm=radare2.r2pm
alias r2r=radare2.r2r
alias rabin2=radare2.rabin2
alias radiff2=radare2.radiff2
alias rafind2=radare2.rafind2
alias ragg2=radare2.ragg2
alias rahash2=radare2.rahash2
alias rarun2=radare2.rarun2
alias rasign2=radare2.rasign2
alias rasm2=radare2.rasm2
alias ravc2=radare2.ravc2
alias rax2=radare2.rax2
alias sleighc=radare2.sleighc
alias yara=radare2.yara
alias yarac=radare2.yarac
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.