Start from downloading r2dec
from its Github repository (either by cloning it or using the GitHub interface). Then, you can copy r2dec-js folder to your target computer in any way you prefer. On the target computer simply cd
to the "r2dec-js" repository and execute make -C p
. This will install r2dec without any need of internet connection. Then, you can simply use r2dec by using the pdd
command inside radare2.
On the computer with an internet connection:
# Clone the repository
$ git clone https://github.com/wargio/r2dec-js
# Copy the folder to the target machine
On the target computer, without internet connection:
$ cd r2dec-js
r2dec-js$ make -C p
In general, r2pm
is a package manager that follows the installation steps which are in each package. These steps, for each package, are available in the r2pm repository.