1dune-uninstall(1) Dune Manual dune-uninstall(1)
2
3
4
6 dune-uninstall - Uninstall packages using opam-installer.
7
9 dune uninstall [OPTION]... [PACKAGE]...
10
12 -f, --force
13 Force actions associated to aliases to be re-executed even if their
14 dependencies haven't changed.
15
16 --help[=FMT] (default=auto)
17 Show this help in format FMT. The value FMT must be one of `auto',
18 `pager', `groff' or `plain'. With `auto', the format is `pager` or
19 `plain' whenever the TERM env var is `dumb' or undefined.
20
21 --libdir=PATH
22 Directory where library files are copied, relative to prefix or
23 absolute. If --prefix is specified the default is $prefix/lib,
24 otherwise it is the output of ocamlfind printconf destdir
25
26 --prefix=PREFIX, --destdir=PREFIX
27 Directory where files are copied. For instance binaries are copied
28 into $prefix/bin, library files into $prefix/lib, etc... It
29 defaults to the current opam prefix if opam is available and
30 configured, otherwise it uses the same prefix as the ocaml
31 compiler.
32
33 --version
34 Show version information.
35
37 These options are common to all commands.
38
39 --auto-promote
40 Automatically promote files. This is similar to running dune
41 promote after the build.
42
43 --build-dir=FILE (absent DUNE_BUILD_DIR env)
44 Specified build directory. _build if unspecified
45
46 --config-file=FILE
47 Load this configuration file instead of the default one.
48
49 --debug-backtraces
50 Always print exception backtraces.
51
52 --debug-dependency-path
53 In case of error, print the dependency path from the targets on the
54 command line to the rule that failed.
55
56 --debug-findlib
57 Debug the findlib sub-system.
58
59 --default-target=TARGET
60 Set the default target that when none is specified to dune build.
61 It defaults to @@default.
62
63 --dev
64 Same as --profile dev
65
66 --diff-command=VAL
67 Shell command to use to diff files
68
69 --display=MODE
70 Control the display mode of Dune. See dune-config(5) for more
71 details.
72
73 --ignore-promoted-rules
74 Ignore rules with (mode promote)
75
76 -j JOBS
77 Run no more than JOBS commands simultaneously.
78
79 --no-buffer
80 Do not buffer the output of commands executed by dune. By default
81 dune buffers the output of subcommands, in order to prevent
82 interleaving when multiple commands are executed in parallel.
83 However, this can be an issue when debugging long running tests.
84 With --no-buffer, commands have direct access to the terminal. Note
85 that as a result their output won't be captured in the log file.
86 You should use this option in conjunction with -j 1, to avoid
87 interleaving. Additionally you should use --verbose as well, to
88 make sure that commands are printed before they are being executed.
89
90 --no-config
91 Do not load the configuration file
92
93 --only-packages=PACKAGES
94 Ignore stanzas referring to a package that is not in PACKAGES.
95 PACKAGES is a comma-separated list of package names. Note that this
96 has the same effect as deleting the relevant stanzas from jbuild
97 files. It is mostly meant for releases. During development, it is
98 likely that what you want instead is to build a particular
99 <package>.install target.
100
101 -p PACKAGES, --for-release-of-packages=PACKAGES
102 Shorthand for --root . --only-packages PACKAGE --promote ignore
103 --no-config --profile release. You must use this option in your
104 <package>.opam files, in order to build only what's necessary when
105 your project contains multiple packages as well as getting
106 reproducible builds.
107
108 --profile=VAL
109 Select the build profile, for instance dev or release. The default
110 is dev.
111
112 --root=DIR
113 Use this directory as workspace root instead of guessing it. Note
114 that this option doesn't change the interpretation of targets given
115 on the command line. It is only intended for scripts.
116
117 --verbose
118 Same as --display verbose
119
120 --workspace=FILE
121 Use this specific workspace file instead of looking it up.
122
123 -x VAL
124 Cross-compile using this toolchain.
125
127 Use `dune COMMAND --help' for help on a single command.
128
130 These environment variables affect the execution of uninstall:
131
132 DUNE_BUILD_DIR
133 Specified build directory. _build if unspecified
134
136 Check bug reports at https://github.com/ocaml/dune/issues
137
138
139
140Dune 11VERSION11 dune-uninstall(1)