Skip to content

Instantly share code, notes, and snippets.

@iddm
Forked from strobe/compile-emacs.sh
Last active July 10, 2019 11:03
Show Gist options
  • Save iddm/099fffde86af9f31fe6cdae7b23bf8f3 to your computer and use it in GitHub Desktop.
Save iddm/099fffde86af9f31fe6cdae7b23bf8f3 to your computer and use it in GitHub Desktop.
Compile emacs 26.2 on CentOS 7.x
export VERSION=26.2
yum install gcc make ncurses-devel giflib-devel libjpeg-devel libtiff-devel gnutls-devel
curl -O http://ftp.gnu.org/gnu/emacs/emacs-$VERSION.tar.xz > emacs.tar.xz
tar xJf emacs.tar.xz
cd emacs-$VERSION
./configure --without-x --without-selinux
make && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment