Comment créè un variable d'environnement linu

Bonjour,
bonjoure :comment creer un variable d'environnement pour un repertoire sous fedora .
et comment ajouter cette variable a variable PATH d'une maniere permenant
Configuration: Windows XP / Internet Explorer 7.0

16 réponses

  1. mercie por ton aide§§§§§§§§§
    SI POSSIBLE BIENSEURE 'passe a moi ton adress e.mail'et mercie
    0
    1. ajoute toujours dans ton fichier .bashrc a la fin
      export PATH=$PATH:/$LEDAROOT/Manual/cmd
      0
      1. b) Command Search Path:
        include $LEDAROOT/Manual/cmd into your command search path (environment
        variable path (csh) or PATH (sh)) and call "rehash" (if required by your
        system).
        0
        1. Et pour la commande b ....comment je le fait
          0
          1. oui enfin je fais autre chose que répondre aux questions je peux pas répondre toujours dans la minute.

            alors ouvre ta console. ouvre le fichier .bashrc (je ne connais pas ton editeur de texte)

            et ajoute la ligne suivante à la fin

            export LEDAROOT=<leda-root-path>
            0
            1. mais quand je fait sa .et je ferme le consol je trouve pas cette variables;;;puisque c'est une operation temporaira
              0
              1. et pour la commande b ....comment je le fait
                0
            2. excuse oui ba juste ca :
              LEDAROOT=<leda-root-path>
              export LEDAROOT

              et tu fais dans la console
              0
              1. mois je travail avec bash. mais ou j'execute la commande :sous terminal ou fichier bashrc
                0
                1. oui alors tu en es ou. pour ta variable il te donne la commande !!!
                  setenv LEDAROOT <leda-root-path>
                  0
                  1. un simulateure d'un protocol internet "LEDA"
                    ET VOILA LES ETAPES/
                    LEDA

                    UNIX OBJECT CODE INSTALLATION

                    1. Preparations
                    ---------------

                    Unpacking the LEDA distribution file (LEDA-<ver>-<sys>-<cc>.tgz) will
                    create the LEDA root directory "LEDA-<ver>-<sys>-<cc>". You might want
                    to rename it or to move it to some different place. Let <leda-root-path>
                    denote the final complete path name of the LEDA root directory.

                    Now you have to modify your environment as follows:

                    a) LEDAROOT:
                    set the the environment variable LEDAROOT to <leda-root-path>

                    csh/tcsh: setenv LEDAROOT <leda-root-path>

                    sh/bash: LEDAROOT=<leda-root-path>
                    export LEDAROOT

                    b) Command Search Path:
                    include $LEDAROOT/Manual/cmd into your command search path (environment
                    variable path (csh) or PATH (sh)) and call "rehash" (if required by your
                    system).

                    c) Shared Libraries: (for solaris, linux, irix, osf1, hpux)
                    If you are planning to use shared libraries include $LEDAROOT into the
                    LD_LIBRARY_PATH search path (SHLIB_PATH for hpux). Then goto $LEDAROOT
                    and type "make shared". This will construct the shared libraries libL.so,
                    libG.so,libP.so,libW.so, and libD3.so (*.sl for hpux).
                    0
                    1. MAIS .OU EST TU "JFS77"
                      aide moi s'il vous plait
                      0
                  2. es que tu peut m'aider a l'installation d'un simulateure sous fedora;j'ai les etapes mai j'ai pas compris
                    0
                    1. Il te suffit de faire un export dans le fichier .bashrc
                      0
                      1. mercie ;mais comment avoir le fichier / .bashrc
                        0