D environment installer (v0.0.3/v0.0.2)
Here are new versions of the D environment installer based on DMD and GDC. This version adds the PATH changes to “.bashrc” too so that the PATH is also changes for normal logins (not only for shell logins as was the case before).
This problem meant that the installed environment was not accessible system-wide (after re-login), instead it was only accessible from a login shell started from a terminal.1
D based on GDC under Linux Ubuntu* - version 0.0.3
Download script
D based on DMD under Linux Ubuntu* - version 0.0.2
Download script
* - Tested on Feisty and Gutsy
- In truth, these changes only ensure that the PATH variable is correctly setup for the current user (no root access) and only for shell commands. There are other situations when the new bin path won’t be available (ex. when calling these programs from another program like Eclipse). To truly make this path permanently visible from EVERYWHERE, put it at the end of the PATH string in the /etc/environment file. ⇑
Enjoyed this post?, why not subscribe to the RSS feed!