How can I install neovim with non-root permission on ARM machine

5.4.0-70-generic aarch64 aarch64 aarch64 GNU/Linux

I have tried to biuld from src (install prefix was set appropiately) and it gave me the following err:

make[1]: execvp: libtool: Permission denied
make[1]: *** [Makefile:60: src/encoding.lo] Error 127
make[1]: Leaving directory 
[6/43] Completed 'tree-sitter'
ninja: build stopped: subcommand failed.
make: *** [Makefile:101: deps] Error 1

so, I thought lets just find the binary for ARM machines then I went here and downloaded the binary:neovim (aarch64) | Packages | Arch Linux ARM

./nvim: error while loading shared libraries: cannot open shared object file: No such file or directory

So I went and looked at the /usr/local/lib/ and /usr/lib and there isn’t any file. But I can’t really do anything about this…

Is there anyway to get around this?

Aren’t you able to install the dependencies by yourself like the Neovim binary?

do it outside of root-owned stuff and it should work, unless there’s some tool that needs root permission to use, then I’d suggest picking up a pre-built binary or going flatpak/nix or something like that.