Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.6 KB

INSTALL.md

File metadata and controls

51 lines (38 loc) · 1.6 KB

Installation

You can find the most recent packaged versions on the Releases page. However, installing from git is recommended whenever possible.

The most used and recommended way is by running sys/install.sh which will build and install r2 from sources and install it system-wide using symlinks.

git clone https://github.com/radareorg/radare2
radare2/sys/install.sh

To install in your user's home directory, use sys/user.sh. To manage multiple installations on the same system, use r2env.

The focus on portability enables r2 to be built in many different ways for multiple operating systems easily by using the ./configure && make or meson build systems.

r2env allows you to build and install different versions of r2 in your home or system and it is available via Python's pip tool.

pip install r2env
r2env init
r2env add radare2@git

Uninstallation

In case of a polluted filesystem, you can uninstall the current version or remove all previous installations with one or more of those commands:

make uninstall       # Remove the current installation
make purge           # Remove all files from all installations
make system-purge    # Remove all installed packages
git clean -xdf       # Remove any files not tracked by git
rm -rf shlr/capstone # Remove the current version of capstone

Packaging status

Packaging status