> CentOS > CentOS教程 >

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.2cto.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
(责任编辑:IT)