I am trying to configure a build from source an old version of gcc on my dev machine. The documentation highlight several environment variables that need to be changed in order to do this. I was wondering how to do this and also where linux stores them and if a system restart is required for any changes to be registered??
|
|
What you need is local temporal changes. You are not going to need them tomorrow, when you are doing something else, it may break the thing you do tomorrow. However you could save it as a build-script/makefile for use tomorrow.
or
note: If using |
||||
|
|
|
The Global environment variables of your system are stored in User level Environment variables are mostly stored in Edit : If you don't want to Reboot or restart your terminal, you can make use of the source command. |
|||||||
|
|
You should place your environment variables on a per-user basis in ~/.pam_environment Create the file if it doesn't exist. See here |
|||
|
|
