digitalmars.D.learn - Let dmd or ldc be easy to setup on Ubuntu
- FrankLike (7/7) Dec 22 2015 Now,we can't setup dmd or ldc like this:
- Rikki Cattermole (4/11) Dec 22 2015 dlang.org does not host a apt repository.
- FrankLike (7/21) Dec 22 2015 deb http://d-apt.sourceforge.net/ trusty main
- Rikki Cattermole (10/32) Dec 22 2015 I'm confused.
- FrankLike (3/12) Dec 22 2015 Sorry, it works,but can't get any useful info.
- FrankLike (6/20) Dec 22 2015 sudo apt-get install dmd ← it's error.
- Jordi Sayol via Digitalmars-d-learn (11/12) Dec 22 2015 dmd_2.069.2-0-amd64.deb from http://downloads.dlang.org/ is an all-in-on...
- Jordi Sayol via Digitalmars-d-learn (2/3) Dec 22 2015 s/d-lang/d-apt/
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.
Dec 22 2015
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/
Dec 22 2015
On Tuesday, 22 December 2015 at 14:11:29 UTC, Rikki Cattermole wrote:On 23/12/15 3:09 AM, FrankLike wrote: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.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/
Dec 22 2015
On 23/12/15 3:32 AM, FrankLike wrote:On Tuesday, 22 December 2015 at 14:11:29 UTC, Rikki Cattermole wrote: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.On 23/12/15 3:09 AM, FrankLike wrote: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.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/
Dec 22 2015
On Tuesday, 22 December 2015 at 14:37:21 UTC, Rikki Cattermole wrote: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.Sorry, it works,but can't get any useful info.
Dec 22 2015
On Tuesday, 22 December 2015 at 15:08:20 UTC, FrankLike wrote:On Tuesday, 22 December 2015 at 14:37:21 UTC, Rikki Cattermole wrote:sudo apt-get install dmd ← it's error. Now I setup by double click the 'dmd_2.069.2-0-amd64.deb' file,and setup it. then sudo apt-get install dub it's ok.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.Sorry, it works,but can't get any useful info.
Dec 22 2015
El 22/12/15 a les 16:38, FrankLike via Digitalmars-d-learn ha escrit:sudo apt-get install dmd ← it's error.dmd_2.069.2-0-amd64.deb from http://downloads.dlang.org/ is an all-in-one deb package, containing all the tools and libraries for each release. "d-lang" splits it in few deb packages: dmd-bin (compiler and other executable files) dmd-doc (documentation, man pages and examples) libphobos2-69 (shared library) libphobos2-dev (static library, symlink to shared library, module sources and pkg-config files) So if you want to install dmd compiler, just type: $ sudo apt-get install dmd-bin Regards, Jordi
Dec 22 2015
El 22/12/15 a les 18:28, Jordi Sayol via Digitalmars-d-learn ha escrit:"d-lang" splits it in few deb packages:s/d-lang/d-apt/
Dec 22 2015