Changes
Page history
Update Setup your computer
authored
Sep 21, 2023
by
Guillaume Sanahuja
Hide whitespace changes
Inline
Side-by-side
Setup-your-computer.md
View page @
d3ff8cbb
...
@@ -4,21 +4,28 @@ It is advised to put all Flair related stuffs in the same directory, for example
...
@@ -4,21 +4,28 @@ It is advised to put all Flair related stuffs in the same directory, for example
`$ mkdir $HOME/flair`
`$ mkdir $HOME/flair`
Then add an environment variable to your .bashrc with the path of this directory:
# bashrc
Edit your .bashrc:
`$ nano ~/.bashrc`
`$ nano ~/.bashrc`
and add:
and add:
```
```
#!sh
# variable for Flair
# variable for Flair
export FLAIR_ROOT=$HOME/flair
export FLAIR_ROOT=$HOME/flair
# flair binaries
export PATH="$PATH":"$FLAIR_ROOT"/flair-src/bin
# flair completion script
source "$FLAIR_ROOT"/flair-src/scripts/flair_completion.sh
```
```
reload the script:
reload the script:
`$ source ~/.bashrc`
`$ source ~/.bashrc`
All Flair documentation, scripts and CMakeLists.txt will use this variable.
-
`$FLAIR_ROOT`
is a variable used in all flair documentation, in scripts and in CMakeLists.txt
-
flair binaries are tools like flairrun or flairmake
-
flair completion script is used for autocompletion with flair binaries
# Install packages
# Install packages
...
...
...
...