* How to make bash sees binaries from /root/.local/bin ?
@ 2020-05-06 11:01 znavko
2020-05-06 11:26 ` Vincent Legoll
2020-05-06 15:04 ` znavko
0 siblings, 2 replies; 3+ messages in thread
From: znavko @ 2020-05-06 11:01 UTC (permalink / raw)
To: help-guix
Hello! Fortunately, I've installed protonvpn client (written in python3) to my system.
But it does not run with 'protonvpn' command, but only with full path '/root/.local/bin/protonvpn'.
As I know, it happens because PATH variable does not contain /root/.local/bin
and bash does not seek there.
Sorry, I want Guix way advice concerning how to add the directory '/root/.local/bin/'
to my $PATH for user 'root' permanently, please?
# echo $SHELL
/gnu/store/n1c9jiv2njnvdfz58v71fvzq0hkgivz1-bash-5.0.7/bin/bash
# echo $PATH
/root/.guix-profile/bin:/root/.guix-profile/bin:/root/.guix-profile/sbin:/run/setuid-programs:/root/.config/guix/current/bin:/root/.guix-profile/bin:/root/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin
# cat /root/.bash_profile
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
GUIX_PROFILE="/root/.guix-profile" . "/run/current-system/profile/etc/profile"
GUIX_PROFILE="/root/.guix-profile" . "$GUIX_PROFILE/etc/profile"
# ls /root/.local/bin
chardetect pip pip3 pip3.7 protonvpn
# protonvpn
-bash: protonvpn: command not found
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-06 15:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-06 11:01 How to make bash sees binaries from /root/.local/bin ? znavko
2020-05-06 11:26 ` Vincent Legoll
2020-05-06 15:04 ` znavko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.