Ubuntu Forums Archive Viewer

Setting Environment Variables for D tango

Archived thread 1382678 from Virginia Team - US. Markdown source: Virginia_Team_-_US/thread_1382678_Setting_Environment_Variables_for_D_tango.md

Original URL About this archive
#1

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

#2

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