PDA

View Full Version : Setting Environment Variables for D tango



CSdavid
January 16th, 2010, 04:02 PM
I was wondering if anyone could tell me how to set the PATH variables. I went into .bash_profile but its empty. I am sort of new to Linux. I use it at school but usually everything is already setup correctly. I really need to get this set up I have projects to write in the D programming language using the tango libraries and I cant seem to set up the environment path variables correctly.

thanks

CSdavid
January 17th, 2010, 05:41 PM
I figured out how to set the PATH.

sudo gedit /etc/bash.bashrc
then write at the end of the bashrc file

export PATH=$PATH:/some/path

baschrc and bash_profile are the same thing but cetian bash shells used bashrc rather than bash_profile