Let dmd or ldc be easy to setup on Ubuntu
Rikki Cattermole via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Dec 22 06:37:21 PST 2015
On 23/12/15 3:32 AM, FrankLike wrote:
> On Tuesday, 22 December 2015 at 14:11:29 UTC, Rikki Cattermole wrote:
>> On 23/12/15 3:09 AM, FrankLike wrote:
>>> Now,we can't setup dmd or ldc like this:
>>> sudo apt-get install dmd
>>> sudo apt-get install ldc2
>>>
>>> If I set 'The Installation Source' is :
>>> deb http://downloads.dlang.org/releases/2015/ main
>>>
>>> But it's error,why?
>>>
>>> Thank you.
>>
>> dlang.org does not host a apt repository.
>>
>> There is one on sourceforge for just this however.
>>
>> http://d-apt.sourceforge.net/
>
> deb http://d-apt.sourceforge.net/ trusty main
>
> 'The Installation Source' is ok,but in Terminal it's error.
> Do you have some detail about 'The Installation Source' for dmd or ldc?
> Thank you.
I'm confused.
The commands listed e.g.
$ sudo wget
http://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O
/etc/apt/sources.list.d/d-apt.list
$ sudo apt-get update && sudo apt-get -y --allow-unauthenticated install
--reinstall d-apt-keyring && sudo apt-get update
Should work.
If it does not, please post output.
More information about the Digitalmars-d-learn
mailing list