1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Doc: pipx option to install pkg globally for multi-user access

This commit is contained in:
A Holt 2023-11-05 09:44:12 -05:00 committed by GitHub
parent a97afd1268
commit 8def5c98cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,6 +224,8 @@ else
# $APT_PATH/apt -y install pipx # Typically adds 50+ packages!
# pipx install ansible-core
# pipx ensurepath # Adds /root/.local/bin to $PATH -- next time you open a shell -- e.g. for /root/.local/bin/ansible -> /root/.local/pipx/venvs/ansible-core/bin/ansible
# Or, to install package globally for multi-user access: (pypa/pipx#754)
# PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install ansible-core
# 2023-10-11: RasPiOS Bookworm doc for Python with venv (PEP 668 now enforced!)
# https://www.raspberrypi.com/documentation/computers/os.html#python-on-raspberry-pi