CentOS安装emacs24.2命令

时间:2023-03-08 23:28:28
CentOS安装emacs24.2命令

CentOS安装emacs24.2命令

#1.安装如下软件

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   www.ahlinux.com

yum -y install gpm-devel dbus-devel dbus-glib-devel dbus-python

yum -y install GConf2-devel pkgconfig

yum -y install libXft-devel

#2.下载emacs

#http://ftp.gnu.org/pub/gnu/emacs/

tar xvf emacs-24.2.tar.gz

#解压文件

cd emacs-24.2

./configure –prefix=/usr/local –with-x-toolkit=gtk

make && make install