Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ~/.local/bin to PATH. #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

satwell
Copy link

@satwell satwell commented Jul 13, 2024

Python's pip and pipx put executable for user-installed modules into ~/.local/bin. Also the XDG basedir specification recommends adding it to PATH, so this may help more than just Python.

Normally on Ubuntu, this is handled by the ~/.profile that's copied from /etc/skel. But since we don't have normal shell initialization, we need to add it to the PATH set in /etc/environment.

Fixes #128.

Python's pip and pipx put executable for user-installed modules into
~/.local/bin.  Also the XDG basedir specification recommends adding it
to PATH, so this may help more than just Python.

Normally on Ubuntu, this is handled by the ~/.profile that's copied from
/etc/skel.  But since we don't have normal shell initialization, we need
to add it to the PATH set in /etc/environment.
@ChristopherHX
Copy link
Collaborator

Technically adding anthing to /etc/environment has no effect for docker, but yes we have a build script that parses the files before creating the docker image metadata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tools installed with pipx don't work: no $HOME/.local/bin in PATH
2 participants