You clearly installed neovim in an inofficial way. This can be suspected because the binary is (correctly) located in /usr/local/bin.
Manually installed software "overrides" a similarly named executable installed using the software center ("Apt system"). Thus, installing or removing the distribution-supplied version of neovim does not make a difference on your system: you continue to run the version installed in /usr/local/bin.
You installed it, so only you can know how you installed it. Depending on how you installed it, a removal script may or may not have been supplied, which would have been the preferred way to remove that installation.
However, lacking this, your remaining option is to manually remove anything related to nvim in /usr/local/bin/ and /usr/local/lib/. The problem remains that it can be difficult to know which files came with that installation: other files, not named neovim may have been part of that installation.
Obviously, since this concerns system directories, you need root permissions to delete these files, and be extremely careful about what you are doing. Prefer to use the software center or apt to install software if you are not too comfortable with a Linux system.
sudo apt install neovim– Lucifer Jul 14 '25 at 04:52neovimwill come from IF you've added an extra source to your system, usually I'd do anapt policy neovimto explore where its available ... but what you'll have available will of course include whatever sources you've added to your system (andapt policyis limited to sources you've added; if you manually install a package it won't have a source to list) – guiverc Jul 14 '25 at 04:54Installed: (none) Candidate: 0.9.5-6ubuntu2 Version table: 0.9.5-6ubuntu2 500 500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages``` Ok so it looks like from the Ubuntu noble repository, but then it also says installation: none, what does that mean. Please bear with me, I'm pretty new to linux and nvim and am currently using a WSL2 for practice– Lucifer Jul 14 '25 at 04:57usr/local/bin/nvimwhich is NOT from the Ubuntu package ... so you've likely installed it another way as well possibly... We're limited to details you provide (and in your question is where it matters on a Q&A site!!) – guiverc Jul 14 '25 at 05:31sudo rm -rf /usr/local/bin/nvimthen. Again, I'm sorry for not providing enough details, and thank you for helping. – Lucifer Jul 14 '25 at 05:54