Skip to content

Instantly share code, notes, and snippets.

@LambertGreen
Forked from harrifeng/redhat-compile-emacs.sh
Created September 30, 2019 05:25
Show Gist options
  • Save LambertGreen/cdc9008770549c6d81a8c0e7f5e5d044 to your computer and use it in GitHub Desktop.
Save LambertGreen/cdc9008770549c6d81a8c0e7f5e5d044 to your computer and use it in GitHub Desktop.
Compile emacs on redhat and centos
yum -y groupinstall "Development Tools"
yum -y install gtk+-devel gtk2-devel
yum -y install libXpm-devel
yum -y install libpng-devel
yum -y install giflib-devel
yum -y install libtiff-devel libjpeg-devel
yum -y install ncurses-devel
yum -y install gpm-devel dbus-devel dbus-glib-devel dbus-python
yum -y install GConf2-devel pkgconfig
yum -y install libXft-devel
wget https://ftp.gnu.org/pub/gnu/emacs/emacs-25.1.tar.xz
tar xvJf emacs-25.1.tar.xz
cd emacs-25.1
./configure
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment