I’m having trouble installing emacs in MobaXTerm. When I open a new terminal I’m in the path home/mobaxterm
. When typing example.cpp
in the terminal, I get an error emacs: command not found
and emacs can be installed using the following command: apt install emacs
.
But when I do type apt install emacs
it says that Package emacs is already installed
.
I did some reading and articles are saying that the emacs
command needs to be in usr/bin/
. To check if this is the case I use which emacs
but nothing shows up, as if emacs was never installed. Why is the terminal telling me that the emacs
isn’t found even though it is installed? And why isn’t it showing in my bin
directory? How do I fix this?