<div dir="ltr"><div dir="ltr">On Mon, Oct 5, 2020 at 10:25 AM Alaindevos via Digitalmars-d-learn <<a href="mailto:digitalmars-d-learn@puremagic.com" target="_blank">digitalmars-d-learn@puremagic.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Can I say python has pip, ruby has bundle and D has dub.<br>
Meaning they perform the same function ?<br>
Or am I wrong?<br></blockquote><div><br></div><div>Yes and no. Dub is Dlang dependency solution but it is not installer as pip is</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
As I use unix the parameters for include and library are a real <br>
pain.<br>
I have totally no idea how to connect to a postgresql database.<br>
Where and how do I start to connect to a postgresql database ?<br>
I write a .d program to connect.<br>
But then I need to include the database-connection-library.d file.<br>
Where do I place it ?<br>
And link a database-connection. object file.<br>
How is it installed ? There is a only a git i can clone ?<br>
Do I need to create and edit a specific dub json config file ?<br>
It is very unclear how to start.<br></blockquote><div><br></div><div>Yes if you want to use any of dub packages you need to add it as a dependency to your dub.json (dub.sdl) </div></div></div>