Last active
November 27, 2023 21:57
-
-
Save atgmello/e30005cd4dbecab5159b7090ddd19823 to your computer and use it in GitHub Desktop.
Install Emacs 27 from source in Ubuntu 20.04 LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd | |
git clone --depth=1 --single-branch \ | |
--branch emacs-27 https://github.com/emacs-mirror/emacs.git | |
cd emacs/ | |
sudo apt 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 imagemagick \ | |
libmagickwand-dev libxaw7-dev | |
./autogen.sh | |
./configure --with-json --with-modules --with-harfbuzz --with-compress-install \ | |
--with-threads --with-included-regex --with-x-toolkit=lucid --with-zlib --without-sound \ | |
--without-xpm --with-jpeg --without-tiff --without-gif --with-png \ | |
--without-rsvg --with-imagemagick --without-toolkit-scroll-bars \ | |
--without-gpm --without-dbus --without-makeinfo --without-pop \ | |
--without-mailutils --without-gsettings --without-pop | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Credits go to:
https://www.reddit.com/r/emacs/comments/hkoksm/best_way_to_get_emacs_27_on_ubuntu_well_actually/
Tested on a fresh Regolith 1.5.2 install.