.TH DUB-INSTALL 1 "2023-11-03" "The D Language Foundation" "The D Language Foundation" .SH NAME dub \- Package and build management system for D .SH SYNOPSIS \fBdub install\fR <\fIpackage\fR>[@<\fIversion-spec\fR>] \fIOPTIONS\&.\&.\&.\fR .SH DESCRIPTION Note: Use "dub add " if you just want to use a certain package as a dependency, you don't have to explicitly fetch packages. Explicit retrieval/removal of packages is only needed when you want to put packages in a place where several applications can share them. If you just have a dependency to add, use the `add` command. Dub will do the rest for you. Without specified options, placement/removal will default to a user wide shared location. Complete applications can be retrieved and run easily by e.g. $ dub fetch vibelog --cache=local $ dub run vibelog --cache=local This will grab all needed dependencies and compile and run the application. Note: DUB does not do a system installation of packages. Packages are instead only registered within DUB's internal ecosystem. Generation of native system packages/installers may be added later as a separate feature. .SH OPTIONS .IP --version=VALUE Use the specified version/branch instead of the latest available match The remove command also accepts "*" here as a wildcard to remove all versions of the package from the specified location .IP --force-remove Deprecated option that does nothing .SH FILES \fIdub\&.sdl\fR, \fIdub\&.json\fR .SH AUTHOR Copyright (c) 1999-2023 by The D Language Foundation .SH "ONLINE DOCUMENTATION" .UR http://code.dlang.org/docs/commandline .UE http://code.dlang.org/docs/commandline .SH "SEE ALSO" \fBdmd(1)\fR, \fBdub(1)\fR