Skip to content

Instantly share code, notes, and snippets.

@peterwvj
Forked from kiennq/build_emacs.sh
Created June 20, 2020 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterwvj/dbb7b8ad0523bef597764ff1673cde96 to your computer and use it in GitHub Desktop.
Save peterwvj/dbb7b8ad0523bef597764ff1673cde96 to your computer and use it in GitHub Desktop.
Build emacs27 on Ubuntu 18.04
git clone --depth=1 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
./autogen.sh
./configure --with-json --with-modules --with-harfbuzz --with-compress-install \
--with-threads --with-included-regex --with-zlib --without-sound \
--without-xpm --without-jpeg --without-tiff --without-gif --without-png \
--without-rsvg --without-imagemagick --without-toolkit-scroll-bars \
--without-gpm --without-dbus --without-makeinfo --without-pop \
--without-mailutils --without-gsettings --without-pop --without-mailutils
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment