Skip to content

Instantly share code, notes, and snippets.

@Franceshe
Forked from atgmello/emacs27.sh
Created May 17, 2021 12:11
Show Gist options
  • Save Franceshe/4927f51ef32cc747acb01377332a261b to your computer and use it in GitHub Desktop.
Save Franceshe/4927f51ef32cc747acb01377332a261b to your computer and use it in GitHub Desktop.
Install Emacs 27 from source in Ubuntu 20.04 LTS
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