ubuntugeditwindows-subsystem-for-linux

Ubuntu: gedit' not found, but can be installed with


I am trying to install Valgrind on my windows 10. I am using Ubuntu and was able to install valgrind smoothly. However, when trying to set the path using the command: gedit .bashrc I am getting the error:

Command 'gedit' not found, but can be installed with:

sudo apt install gedit

So I did install gedit and reload the command window and run this again: gedit .bashrc but I keep getting the same error. Any ideas how to resolve this?


Solution

  • Run these, should fix the issue

    sudo apt-get update && sudo apt-get install --reinstall gedit