5 should have allowed the rz-ghidra plugin to be installed locally using rz-pm -i by using RIZIN_INSTALL_PLUGDIR but as rizinorg/rz-pm#10 shows rz-ghidra will still be installed in /usr/local, which requires root priviledge.
So I added -DCMAKE_INSTALL_PREFIX=~/.local as https://github.com/rizinorg/rz-ghidra#building says, it works now. I hope it will not affect RIZIN_INSTALL_PLUGDIR, though I could not find RIZIN_INSTALL_PLUGDIR anywhere.
5 should have allowed the
rz-ghidra
plugin to be installed locally usingrz-pm -i
by usingRIZIN_INSTALL_PLUGDIR
but as rizinorg/rz-pm#10 showsrz-ghidra
will still be installed in/usr/local
, which requires root priviledge.So I added
-DCMAKE_INSTALL_PREFIX=~/.local
as https://github.com/rizinorg/rz-ghidra#building says, it works now. I hope it will not affectRIZIN_INSTALL_PLUGDIR
, though I could not findRIZIN_INSTALL_PLUGDIR
anywhere.