Table of Contents

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

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/openalea/lib