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

15k Views Asked by At

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?

1

There are 1 best solutions below

4
Dhosborne On BEST ANSWER

Run these, should fix the issue

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