From 02c578f95cb72c49ab1cf4d8f976c4752c12b1b7 Mon Sep 17 00:00:00 2001 From: mwmajewsk <5279578+mmajewsk@users.noreply.github.com> Date: Tue, 3 Aug 2021 16:49:33 +0200 Subject: [PATCH] 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 --- docs/getting_started.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/getting_started.org b/docs/getting_started.org index 0997640c1..13980053f 100644 --- a/docs/getting_started.org +++ b/docs/getting_started.org @@ -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