1R2PM(1) BSD General Commands Manual R2PM(1)
2
4 R2PM — radare2 package manager
5
7 r2pm [[aIiuUglsv]] [[pkg ...]]
8
10 Allows to install, update, uninstall and discover plugins and tools that
11 can be used with radare2.
12
13 -a, repo Adds an external r2pm repository, no arguments to -a will
14 list all the registered repos, use '-a - repo' to unregis‐
15 ter/remove those repos.
16
17 -I Show information about repository and installed packages
18
19 -i pkgname Install a package
20
21 -gi pkgname
22 Install a package in the system directory
23
24 -u pkgname Uninstall a package
25
26 -uu pkgname
27 Force uninstall a package
28
29 -U pkgname Run the suggested lines when loading outdated plugins by r2
30
31 -gu pkgname
32 Uninstall a package from the system directory
33
34 -l List installed packages
35
36 -s keyword Search in database for packages matching keyword
37
38 -r command ...args
39 Run command with R2PM_BINDIR in PATH
40
41 -v Show version information
42
43 -h Show usage help message
44
45 -c Clean the source cache
46
48 The database is initialized and pulled automatically, all the named ac‐
49 tions have been deprecated, use only flags
50
51 Install a package
52
53 $ r2pm -i yara3
54
55 Install a test package (don't git pull on $R2PM_GITDIR/yara3)
56
57 $ R2PM_GITSKIP=1 r2pm -ci yara3
58
59 Avoid init/update calls (don't git pull on $R2PM_DBDIR)
60
61 $ R2PM_OFFLINE=1 r2pm -i yara
62
63 Uninstall a package
64
65 $ r2pm -u yara3
66
67 Search a package
68
69 $ r2pm -s yara
70
71 List installed packages
72
73 $ r2pm -l
74
76 SUDO=sudo
77 R2PM_PLUGDIR=~/.local/share/radare2/plugins
78 R2PM_BINDIR=~/.local/share/radare2/prefix/bin
79 R2PM_OFFLINE=0
80 R2PM_DBDIR=~/.local/share/radare2/r2pm/db
81 R2PM_GITDIR=~/.local/share/radare2/r2pm/git
82 R2PM_GITSKIP=
83
85 radare2(1)
86
87 Dec 5, 2021