DMD<\/strong><\/span><\/a>, LDC, or GDC installed (DMD is recommended).<\/li>\n<\/ul>\nDownload DUB<\/h3>\n
You will need to download DUB. To do so, run:<\/p>\n
wget http:\/\/code.dlang.org\/files\/dub-0.9.22-linux-x86_64.tar.gz\r\n<\/code><\/pre>\nExtract and Install DUB<\/h3>\n
Extract what you have downloaded and install it by running the following commands:<\/p>\n
tar xvf dub-0.9.22-linux-x86_64.tar.gz\r\nmv dub \/usr\/local\/bin\r\n<\/code><\/pre>\nThis will install DUB into the system making it available for use in your\u00a0PATH<\/code>\u00a0variable.<\/p>\nVerify Installation<\/h3>\n
Verify your installation with this command:<\/p>\n
dub init test\r\n<\/code><\/pre>\nYou should get a message beginning with\u00a0Successfully created an empty project in<\/code>\u00a0and if you do, you can\u00a0cd<\/code>\u00a0into the\u00a0test<\/code>\u00a0directory and run\u00a0dub<\/code>, which will build and execute the code located in\u00a0test\/source\/app.d<\/code>. If you get a message saying\u00a0Edit source\/app.d to start your project.<\/code>, then you have successfully installed DUB.<\/p>\nNote:<\/strong>\u00a0You may want to read the official DUB documents to learn more on how you can setup your dependencies, and your project the way you wish to set it up. This will be extremely useful for multi-deployment when building on different platforms (and possibly in the future for different platforms by cross compiling).<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[242,247],"manual_kb_tag":[425],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2773"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2773"}],"version-history":[{"count":2,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2773\/revisions"}],"predecessor-version":[{"id":2843,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2773\/revisions\/2843"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2773"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2773"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}