jesseduffield / lazydocker

The lazier way to manage everything docker
MIT License
38.82k stars 1.23k forks source link

Cannot install on Debian 5.10.197-1 via curl .sh #500

Closed vargash closed 1 year ago

vargash commented 1 year ago

Describe the bug I'm trying to install the latest version using the curl method, but the operation seems to not work. I get no error, but the binary seems like it's not downloaded.

To Reproduce Steps to reproduce the behavior:

  1. Connect to server with a normal user (not SU)
  2. Execute curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
  3. See error.

Expected behaviour lazydocker is installed in ~/.local/bin

Screenshots image

Desktop (please complete the following information):

mark2185 commented 1 year ago

Is the ~/.local/bin in your PATH?

If you comment out the three last lines in the install_update_linux.sh, i.e.

# install/update the local binary
curl -L -o lazydocker.tar.gz $GITHUB_URL
# tar xzvf lazydocker.tar.gz lazydocker
# install -Dm 755 lazydocker -t "$DIR"
# rm lazydocker lazydocker.tar.gz

Does it download the lazydocker.tar.gz in the current directory?

vargash commented 1 year ago

Yep it does. It looks like some permission problems with the default installation folder of the script, I reconfigured the user permission and all went well. Probably some more verbose logging in the scripts could be useful in this cases, though.