Emacs 26.2 is installed with the application manager, not apt-get.
When calling it in the terminal I get :
samusz@samusz-K55:~$ emacs
La commande « emacs » n'a pas été trouvée, mais peut être installée avec :
sudo apt install emacs25
sudo apt install emacs25-nox
sudo apt install e3
sudo apt install emacs25-lucid
sudo apt install jove
(emacs command couldn't be found, but can be installed with...)
samusz@samusz-K55:~$ whereis emacs
emacs: /etc/emacs /usr/share/emacs
samusz@samusz-K55:~$ which emacs
samusz@samusz-K55:~$ ^C
samusz@samusz-K55:~$
there is no binary in /etc/emacs nor /usr/share/emacs, just config files !
So as a get-around I'll uninstall and get fresh binaries but I am interested as to what I do wrong. Or may be Ubuntu is not getting better if they can't configure the path when installing binaries.
I hate it when things get hidden away.
Is this a bug or a feature? (and if does it need reporting where ?)
(I was trying to get pdf-tools
working when hit this wall)
M-x report-emacs-bug
. If you think it's a Ubuntu bug then consider reporting it to the Ubuntu developers.$
to identify environment variables. The percent symbol%
is a Windows convention. Are you using Windows Subsystem for Linux? If so, you should state that in your question./usr/bin
, or/bin/
. It looks like your path is not set properly. It shouldn't include /etc/ or /usr/share, so whereis shouldn't report anything from those directories.