Skip to content

Instantly share code, notes, and snippets.

@bertinatto
Forked from harrifeng/redhat-compile-emacs.sh
Last active August 12, 2020 20:25
Show Gist options
  • Save bertinatto/feb2ed895700c4376fd42a9f39b8dd02 to your computer and use it in GitHub Desktop.
Save bertinatto/feb2ed895700c4376fd42a9f39b8dd02 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
yum install texi2html texinfo gnutls-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