radareorg / r2pm

Radare2 cross platform package manager
GNU Lesser General Public License v3.0
34 stars 12 forks source link

missing "db.json" #6

Closed cxwithyxy closed 6 years ago

cxwithyxy commented 6 years ago

I run :

go run r2pm.go -s r2frida

it return :

Could not read database file C:\Users\cx\AppData\Roaming/db.json. Did you initialize r2pm? 

so, where is the db.json ?

Maijin commented 6 years ago

did you r2pm init ?

xarkes commented 6 years ago

You probably did not r2pm init anyway, this r2pm is still a work in progress, to install r2frida better use this one: https://github.com/radare/radare2-pm

cxwithyxy commented 6 years ago

I run that, but nothing return

go run r2pm.go init

actually r2pm.go is diff from r2pm

go run r2pm.go -init

that works.

but I still can't install r2frida

go run r2pm.go -s r2frida

it return :

List of available packages: (filter: r2frida)
No packages found.
xarkes commented 6 years ago

As said in my previous message, r2pm.go is a Work In Progress. What you need to use to install r2frida is r2pm not r2pm.go. The r2pm binary is bundled within radare2 repository. Just do ./sys/install.sh and then you can call r2pm.