Ubuntu install error externally-managed-environment

I can solve this issue. Steps:

  1. Instead of curl -L https://umbrel.sh | bash to install, I did curl -L https://umbrel.sh > install-umbrel.sh
  2. Modify the install-umbrel.sh script. Look at the install_docker_compose function and change it to:
install_docker_compose() {
  sudo apt-get install --yes libffi-dev pipx
  sudo pipx install docker-compose
  # we need to add /root.local/bin to the PATH
  echo PATH="\$PATH:/root/.local/bin" | sudo tee -a /root/.bashrc > /dev/null
  sudo source /root/.bashrc
}
  1. Save and run the script bash install-umbrel.sh.

I hope this helps you.
Greetings

1 Like