ubuntu 9.04上emacs-22.3的安装与配置
2009-11-04 15:51
507 查看
1.下载emacs-22.3的源码,下载地址如下:
ftp://mirrors.kernel.org/gnu/emacs/
2.解压源码:
$ tar -xzvf emacs-22.3.tar.gz
3.编译安装emacs-22.3
$ cd emacs-22.3
$ ./configure --prefix=/usr/local/emacs-22.3
$ make
$ sudo make install
其中 --prefix为配置安装路径,可以自行修改。
4.配置环境变量:
$ vi ~/.bashrc
加入: export PATH=/usr/local/emacs-22.3/bin:$PATH
并保存退出。
运行效果如下:
![](http://www.mcuol.com/download/uppic/20090526120239emacs_start.jpg)
5.显示多余信息的解决方法:加入配置文件 ( ~/.emacs)
$ vi ~/.emacs
加入
(autoload ''''''''ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-hook ''''''''shell-mode-hook ''''''''ansi-color-for-comint-mode-on)
并保存.
ftp://mirrors.kernel.org/gnu/emacs/
2.解压源码:
$ tar -xzvf emacs-22.3.tar.gz
3.编译安装emacs-22.3
$ cd emacs-22.3
$ ./configure --prefix=/usr/local/emacs-22.3
$ make
$ sudo make install
其中 --prefix为配置安装路径,可以自行修改。
4.配置环境变量:
$ vi ~/.bashrc
加入: export PATH=/usr/local/emacs-22.3/bin:$PATH
并保存退出。
运行效果如下:
![](http://www.mcuol.com/download/uppic/20090526120239emacs_start.jpg)
5.显示多余信息的解决方法:加入配置文件 ( ~/.emacs)
$ vi ~/.emacs
加入
(autoload ''''''''ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-hook ''''''''shell-mode-hook ''''''''ansi-color-for-comint-mode-on)
并保存.
相关文章推荐
- 硬盘安装及配置ubuntu9.04的全过程(转贴)
- 原创 Ubuntu9.04安装配置
- Ubuntu9.04安装与安装后配置
- Ubuntu9.04安装配置
- Ubuntu 9.04 Tomcat6.0 安装配置
- Ubuntu 9.04安装与配置conky
- Ubuntu 9.04 最新版下载(附:U盘安装方法和配置方法)
- ubuntu9.04 最好的音乐播放器audacious 安装及配置
- [Linux] Ubuntu_9.04_server安装nginx+php(fastcgi)+nginx虚拟主机配置格式
- Ubuntu 9.04下安装配置NFS过程
- ubuntu9.04安装配置java6
- Ubuntu 9.04 安装和配置备忘录
- ubuntu9.04 mysql 安装与配置
- ubuntu9.04上android sdk 1.5 安装与配置
- Ubuntu9.04 desktop下LAMP的安装与配置
- ubuntu9.04 kde桌面安装以及无线网卡的配置
- Ubuntu 9.04下nfs安装配置
- Ubuntu 9.04安装配置心得分享
- (zz)Ubuntu9.04安装配置
- 完美安装配置Ubuntu 服务器版