Skip to content

Instantly share code, notes, and snippets.

@strobe
Forked from ba0f3/compile-emacs.sh
Last active June 28, 2020 16:35
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save strobe/c50974f6904697ff96d80cab43999236 to your computer and use it in GitHub Desktop.
Save strobe/c50974f6904697ff96d80cab43999236 to your computer and use it in GitHub Desktop.
Compile emacs 25.2 on CentOS 7.x
yum install gcc make ncurses-devel giflib-devel libjpeg-devel libtiff-devel
wget wget http://ftp.gnu.org/gnu/emacs/emacs-25.2.tar.xz
tar xJf emacs-25.2.tar.xz
cd emacs-25.2
./configure --without-x --without-selinux
make && sudo make install
@brona90
Copy link

brona90 commented Dec 1, 2017

you rock.

@gabrielStanovsky
Copy link

Thanks!
Shouldn't it be a single wget instead of wget wget?

@zhangsikai123
Copy link

Kept getting this xdisp.o Error 4 error, until added --without-x --without-selinux for ./configure. saved my day. tks. Wondering what causes the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment