Subj : Path To : DesotoFireflite From : Nightfox Date : Wed Jun 17 2015 01:33 pm > Ni> Also, when editing root's .bashrc & .bash_profile files, don't forget > Ni> that you need to edit them as root. You need to either be logged in > Ni> as the root user or use 'sudo' before your editor command (as in 'sudo > Ni> vim .bashrc'). > > It's all working now, thank you so much. When editing .bashrc, there was a > statement in the file saying not to edit it as it would be changed during > updates, so I ended up creating a /etc/profile.local file, and using the > "export PATH=$PATH:/usr/bin/g++" to acheve the global path and perserve it. > works like a charm. You have no idea how much you have helped, Thanks Nice that that worked. Odd that a user's .bashrc would have a comment saying not to edit it due to updates though - .bashrc in the user's directory is meant for the user to edit and make changes to according to their needs.. It doesn't seem right that there would be restrictions for a user not to edit their .bashrc file. Good that you found a solution though. It seems like there are several ways to do everything in Linux. Nightfox ---