1R2PM(1) BSD General Commands Manual R2PM(1)
2
4 r2pm — radare2 package manager
5
7 r2pm [[adhHIipuUglsv]] [[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 -e pkgname Open the package script with your favourite editor
22
23 -d pkgname Show source code of the r2pm package
24
25 -gi pkgname
26 Install a package in the system directory
27
28 -u pkgname Uninstall a package
29
30 -uu pkgname
31 Force uninstall a package
32
33 -U pkgname Initialize or Update the package database
34
35 -gu pkgname
36 Uninstall a package from the system directory
37
38 -l List installed packages
39
40 -s keyword Search in database for packages matching keyword
41
42 -t YYYY-MM-DD
43 Set the R2PM_TIME env var to tell the time to take package
44 source from git
45
46 -r command ...args
47 Run command with R2PM_BINDIR in PATH
48
49 -p Requires -c to clean the R2PM_PLUGDIR
50
51 -v Show version information
52
53 -h Show usage help message
54
55 -H List all special env-vars defined by r2pm internally
56
57 -H env-var-name
58 Show value of given internal environment variable
59
60 -c Clean the source cache
61
63 The database is initialized and pulled automatically, all the named ac‐
64 tions have been deprecated, use only flags
65
66 Install a package
67
68 $ r2pm -i yara3
69
70 Install a test package (don't git pull on $R2PM_GITDIR/yara3)
71
72 $ R2PM_GITSKIP=1 r2pm -ci yara3
73
74 Avoid init/update calls (don't git pull on $R2PM_DBDIR)
75
76 $ R2PM_OFFLINE=1 r2pm -i yara
77
78 Uninstall a package
79
80 $ r2pm -u yara3
81
82 Search a package
83
84 $ r2pm -s yara
85
86 List installed packages
87
88 $ r2pm -l
89
91 SUDO=sudo
92 R2PM_PLUGDIR=~/.local/share/radare2/plugins
93 R2PM_BINDIR=~/.local/share/radare2/prefix/bin
94 R2PM_OFFLINE=0
95 R2PM_DBDIR=~/.local/share/radare2/r2pm/db
96 R2PM_GITDIR=~/.local/share/radare2/r2pm/git
97 R2PM_GITSKIP=
98 R2PM_TIME=
99
101 radare2(1)
102
103 June 7, 2023