Fedora 16 安装 Emacs

Fedora 16安装 Emacs 笔记下:

1. 下载

当前最新版本是emacs-23.4 下载地址 http://ftp.gnu.org/pub/gnu/emacs/

2. 参考INSTALL,选择安装X lib (libXpm-devel)和一些图片依赖库(libjpeg-turbo-devel, giflib-devel, libpng-devel, libtiff-devel)

su -c "yum install 'libXpm-devel libjpeg-turbo-devel giflib-devel libtiff-devel'"

3. 解压src,在emacs-23.4目录下

./configure --prefix=/opt/emacs

4. make

5. sudo make install

6. 添加环境变量

export EMACS_HOME=/opt/emacs

export PATH=$ERLANG_HOME/bin:$EMACS_HOME/bin:$PATH

7.emacs

开始emacs的体验之旅 :)

相关推荐