1

I installed nvim 0.9 from this site but I can't find or open it, if I try to use sudo dnf install neovim It says Package neovim-0.10.0~dev.361.ge3e6fadfd-500.fc36.x86_64 is already installed. but when I type the nvim command it says zsh: nvim: command not found... Similar command is: 'vim'. Please what can I do.

6
  • 1
    hi! So, the fedora neovim package definitely does contain nvim (I know because I'm using it). So, are you installing the "official" package, or are you installing the nightly package from COPR? Commented Sep 13, 2023 at 10:14
  • Yes, it's from COPR Commented Sep 14, 2023 at 12:06
  • then let me have a look at that! Commented Sep 14, 2023 at 12:09
  • Oh, you're still using F36! Commented Sep 14, 2023 at 12:10
  • Yeah, still on 36 😏 Commented Sep 14, 2023 at 12:13

1 Answer 1

0

Pulled up a container with the obsolete F36, installed the copr neovim package there.

So, that COPR isn't the greatest: it doesn't declare dependencies on lua5.1-lpeg, which you definitely need to run neovim. But with that installed, the nvim executable that the COPR-provided RPM ships (rpm -ql neovim | grep 'bin/nvim$') definitely works. So, it's not a problem with the packaging.

If your zsh can't find it, you somehow must bent the PATH to not include /usr/bin (but then a lot of things would be broken). This usually shouldn't help, but start a new zsh and try from there.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.