Hello,
Context
I’d like to use OTB seamlessly each time I start a terminal.
Configuration setup
My system: Ubuntu 22.04
Version of the OTB: 9.1
I installed the OTB with: the binaries
Description of my issue
*I’d like to use OTB seamlessly each time I start a terminal. To make it run one time, I do “source otbenv.profile” and it works. To make it persistent for each new session, I’v tried to add this line into my .bashrc, but it’s not taken into account.
Do we really nead to source this file for each session or is there a way to make it persistent?
Thanks,
Jules
Hi @JulesFleury , I can not reproduce your issue.
Are you sure that the “.bashrc” file is correctly read when you start a new terminal? Depending of your shell, the file read is not bashrc (for instance for zsh it is .zshrc).
If the bashrc and otbsource are correctly read, the following line should be displayed: **** OTB environment setup complete ****
. You can add a line like echo "whatuwant"
in your bashrc to be sure that it is read.
Hi TristanLaurent, thanks!
Yes I should have messed up a lot previously because it works fine with modifiying .bashrc . Probably a mix between the files on my computer and the server…
best,
Jules
1 Like
Thanks to say that it is working
Best