Home | Download/Install | Documentation | Packages | Screenshots | News | Forum/Mailing-lists | Contact | GForge

How to change environment variable

If you use a package which use OpenAlea shared library, you must configure your system accordingly.

Nota : Most package will do this automatically on Windows XP

On Windows 98/ME

  1. Edit your autoexec.bat file
  2. Adapt the line PATH=c:\windows;c:\windows\command;c:\python24;c:\openalea\lib (replace c:\python24 and c:\openalea\lib according to your system).

On Windows 2000/XP

To change the system environment variables on Windows 2000 / Windows XP , follow the below steps.

  1. From the desktop, right click My Computer and click properties.
  2. In the System Properties window, click on the Advanced tab.
  3. In the Advanced section, click the Environment Variables button.
  4. In the Environment variables window, select the path variable in the Systems Variable section and click edit.
  5. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below. (replace c:\python24 and c:\openalea\lib according to your system).
    C:\Program Files;C:\Winnt;C:\Winnt\System32;C:\Python24;C:\openalea\lib

On Linux

There 2 solutions to add a library path on your system. You can

  • either edit the file /etc/bashrc (as root) or ~/.bashrc (for user installation) and add the openalea library path. Example :
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/openalea/lib
  • or edit as root your /etc/ld.so.conf or add a file in /etc/ld.so.conf.d containing simply the library path to add. Then run /sbin/ldconfig to update the library cache.
/usr/local/openalea/lib
 
documentation/user/how_to_change_environment_variable.txt · Last modified: 2006/11/16 10:04 (external edit)   Back to top
INRIA   INRA     CIRAD     AGROPOLIS
INRIA GForge RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki