[Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities
Bo Berglund
bo.berglund at gmail.com
Mon May 25 18:50:44 CEST 2020
On Mon, 25 May 2020 12:32:59 +0200 (CEST), Michael Van Canneyt via
lazarus <lazarus at lists.lazarus-ide.org> wrote:
>> Then Lazarus starts OK but again throws the error due to
>> /home/bosse/bin missing from PATH.
>
>Where is it added to the PATH ? Normally, if you do this in .bashrc or
>.profile, the -l option forces bash to pick it up.
>
It is in ~/.profile
These are the active lines in that file:
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
So whenever .profile is loaded the ~/bin dir gets prepended to PATH...
Soo strange that it is not working...
--
Bo Berglund
Developer in Sweden
More information about the lazarus
mailing list