Skip to content

Instantly share code, notes, and snippets.

@bhavitsharma
Forked from kiennq/build_emacs.sh
Last active July 11, 2020 14:41
Show Gist options
  • Select an option

  • Save bhavitsharma/6620b6fc86988db70cebc34498d586c3 to your computer and use it in GitHub Desktop.

Select an option

Save bhavitsharma/6620b6fc86988db70cebc34498d586c3 to your computer and use it in GitHub Desktop.
Build emacs27 on Ubuntu 18.04
git clone -b emacs-27 --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