Hacker News new | past | comments | ask | show | jobs | submit login

Does any one have any advice for running neo vim on a centos host without admin to install it. (Short of hunting down all the source packages for dependencies and compiling)



You can download the appimage from the website or you can install it using flatpak. Then set up an alias for "neovim" pointing either to the appimage or to the flatpak command.


I'll check if they installed flatpak ;)


I use neovim on centos. Usually build it myself, but I used to grap app image earlier, just do wget here:

https://github.com/neovim/neovim/archive/refs/tags/v0.7.0.ta...

and untar into a local ~<user>/usr/local directory that I maintain myself.

Compiling is neovim at work is a hassle, since its dependencies are from sites which are behind a firewall. So I decided to use locally built dependencies. The most painful part was getting the 3 luarocks 5.1 (which is not the latest) packages to compile locally and work with neovim.


Install it via nix, or if nix is too big a leap, via conda.


Without admin privileges, it's not trivial to use nix.


The nvim on my work laptop is old being from Ubuntu 21.10 so I went with Nix (because I dont like Snap). Fairly easy to set up, Nix is even included in Ubuntu repo.

You only have to install it once, and update things like update-alterrnatives or play with $PATH.


Try the appimage, should bundle everything




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: