docs: add emacs26 removal for ubuntu to install guide

In some cases, ubuntu may contain a preinstalled version of Emacs26,
which cannot be simply removed with "sudo apt remove emacs", and needs
additional "sudo apt autoremove" to properly uninstall emacs26. Only
this will result with the command "emacs" opening other version than
emacs26.

Ref https://unix.stackexchange.com/a/84488
Close #5336
This commit is contained in:
mwmajewsk 2021-08-03 16:49:33 +02:00 committed by GitHub
parent dd55ebb67a
commit 02c578f95c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,6 +130,12 @@ Or through snap:
snap install emacs --classic
#+END_SRC
In some cases, you may need to delete old version of emacs and it's dependencies first, before installing emacs27:
#+BEGIN_SRC bash
sudo apt remove emacs
sudo apt autoremove
#+END_SRC
***** Other dependencies
Then install Doom's other dependencies:
#+BEGIN_SRC bash