Install the newest radare2 version in Debian/Ubuntu

Even unstable branch of Debian repository contains an irrelevant version of radare2 – 3.2.1. But in the current moment, the actual version of radare2 is 3.5.1. Version 3.2.1 was released on January 15, 2019 and version 3.5.1 was released on May 15, 2019. So, it is about 4 months delay.

old version radare2 in Debian repository
4 month delayed 3.2.1 radare2 package. Actual version is 3.5.1

Fortunately, there are already compiled packages in radare2 repository, which can be installed by using apt or dpkg. This article is about that.

I don’t like automatic build scripts. Because on different systems they can work in different ways. Also they are not flexible in settings because they already have settings how to build a package and to change it need to change its code.

Let’s start.

First, remove the previous version of radare2 (if you have) and its dependencies:

sudo apt remove --purge radare2
sudo apt autoremove

Then go to the following link:
Radare2 binaries repository: .deb, tar.gz, exe files
Radare2 binaries repository for installing with package managers

And choose a package of suitable architecture. For example, amd64 suits me:


Then download it, and use the following command. It will install and register the package in the system:

sudo apt install ./radare2_3.5.1_amd64.deb

Now it is possible to use radare2:

r2 -version
radare2 3.5.1 0 @ linux-x86-64 git.3.5.1
commit: HEAD build: 2019-05-15__08:19:35

If we want to know which files were installed in the system by this package, we can use the following command:

dpkg -L radare2

The installed package can be removed as follows:

sudo apt remove --purge radare2
sudo apt autoremove

Leave a Reply

Your email address will not be published.