1R2PM(1)                   BSD General Commands Manual                  R2PM(1)
2

NAME

4     R2PM — radare2 package manager
5

SYNOPSIS

7     r2pm [init|update|cmd] [...]
8

DESCRIPTION

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, info    Show information about repository and installed packages
18
19     -i, install pkgname
20                 Install a package
21
22     -gi, global-install pkgname
23                 Install a package in the system directory
24
25     -u, uninstall pkgname
26                 Uninstall a package
27
28     -gu, global-install pkgname
29                 Uninstall a package from the system directory
30
31     -l, list    List installed packages
32
33     -s, search keyword
34                 Search in database for packages matching keyword
35
36     -r, run command ...args
37                 Run command with R2PM_BINDIR in PATH
38
39     -v, version
40                 Show version information
41
42     -h, help    Show usage help message
43
44     -c, clean   Clean the source cache
45
46     -w, when    Show when a package was installed or exit 1 if pkg does not
47                 exist
48

EXAMPLES

50     Initialize and update the package database
51
52       $ r2pm init
53       $ r2pm update
54
55     Install a package
56
57       $ r2pm install yara3
58
59     Install a test package (don't git pull on $R2PM_GITDIR/yara3)
60
61       $ R2PM_GITSKIP=1 r2pm install yara3
62
63     Uninstall a package
64
65       $ r2pm uninstall yara3
66
67     Search a package
68
69       $ r2pm search yara
70
71     List available packages
72
73       $ r2pm -s
74

SEE ALSO

76     radare2(1)
77
78                                  Jun 7, 2016
Impressum