How do I install a library?

Murilo murilomiranda92 at hotmail.com
Thu Nov 8 22:46:44 UTC 2018


On Thursday, 8 November 2018 at 22:28:38 UTC, Steven 
Schveighoffer wrote:
> On 11/8/18 4:46 PM, Murilo wrote:
>> I want to install the library DlangUI but I don't know how to 
>> do it. In python I just type pip <pckg> and it works, but in D 
>> I don't know how to do it. Can anyone help me?
>
> dlangui will be fetched if you make it a dependency of your 
> project.
>
> When you run dub init on your project, it will ask for 
> dependencies, just type dlangui in there.
>
> -Steve

Thanks, I tried that but when I add the import dlangui in the 
beginning it doesn't work. I wanted to just type import dlangui 
in the beginning of the file so I can call the dlangui functions.


More information about the Digitalmars-d-learn mailing list