- https://arnesonium.com/2023/07/emacs-29-1-on-ubuntu-22-04-lts
- https://www.reddit.com/r/emacs/comments/hkoksm/best_way_to_get_emacs_27_on_ubuntu_well_actually/
emacs29 libXaw… configure: error: No X toolkit could be found.
cd /tmp \
&& git clone --depth=1 --single-branch --branch emacs-29 https://github.com/emacs-mirror/emacs.git \
&& sudo aptitude install -y autoconf make gcc texinfo libgtk-3-dev libxpm-dev \
libjpeg-dev libgif-dev libtiff5-dev libgnutls28-dev libncurses5-dev \
libjansson-dev libharfbuzz-dev libharfbuzz-bin
&& cd emacs && ./autogen.sh && ./configure && sudo make install
dpkg: error processing archive /var/cache/apt/archives/emacs28-common_28.1~1.git5a223c7f2e-kk1+20.04_all. deb (–unpack): trying to overwrite ‘/usr/include/emacs-module.h’, which is also in package emacs27-common 27.1~1.git86d 8d76aa3-kk2+20.04 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
jelou@jelou-Lenovo-B570:~$ sudo dpkg -P emacs27 emacs27-common
dpkg: warning: ignoring request to remove emacs27 which isn't installed
dpkg: dependency problems prevent removal of emacs27-common:
emacs27-el depends on emacs27-common.
dpkg: error processing package emacs27-common (--purge):
dependency problems - not removing
Errors were encountered while processing:
emacs27-common
jelou@jelou-Lenovo-B570:~$ sudo dpkg -P emacs27-el
(Reading database ... 475783 files and directories currently installed.)
Removing emacs27-el (27.1~1.git86d8d76aa3-kk2+20.04) ...
jelou@jelou-Lenovo-B570:~$ sudo dpkg -P emacs27-common
(Reading database ... 474294 files and directories currently installed.)
Removing emacs27-common (27.1~1.git86d8d76aa3-kk2+20.04) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
syl20bnr/spacemacs#15896 (comment)
Opening an org file throws following error
(invalid-function org-assert-version)
`cd ~/.emacs.d; rm -rf elpa/28.2/develop/org-9*`
start emacs with emacs -Q
;; evaluate (with C-j) the following elisp code
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(setq package-user-dir
(expand-file-name "develop"
(expand-file-name emacs-version
(expand-file-name "elpa"
user-emacs-directory))))
(package-refresh-contents)
(package-install 'org)