Steps:
-
Remove the existing Neovim package: First, remove the older version of Neovim installed via
dnfto avoid conflicts:sudo dnf remove neovim -
Download the Latest Neovim Release: Visit the Neovim Releases page on GitHub and download the latest
.tar.gzrelease (for your architecture, e.g.,nvim-linux64.tar.gz).Alternatively, you can use
wgetto download the latest release directly:wget https://github.com/neovim/neovim/releases/download/v0.10.0/nvim-linux64.tar.gz -
Extract and Install Neovim: Extract the downloaded file to a directory like
/optor~/local:tar -xvzf nvim-linux64.tar.gz sudo mv nvim-linux64 /opt/nvim -
Create a Symlink to Make Neovim Accessible: To make Neovim accessible globally, create a symbolic link:
sudo ln -s /opt/nvim/bin/nvim /usr/local/bin/nvim -
Verify Installation: Now, verify that you’ve installed the correct version by running:
nvim --versionThis should show Neovim v0.10.0 or later.