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:
parent
dd55ebb67a
commit
02c578f95c
1 changed files with 6 additions and 0 deletions
|
@ -130,6 +130,12 @@ Or through snap:
|
||||||
snap install emacs --classic
|
snap install emacs --classic
|
||||||
#+END_SRC
|
#+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
|
***** Other dependencies
|
||||||
Then install Doom's other dependencies:
|
Then install Doom's other dependencies:
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue