ubuntu 安装 emacs24

目录

ubuntu 安装 emacs24

  直接在软件中心安装的 emacs 好像有点问题

安装

#Ubuntu 14.04 测试安装
sudo add-apt-repository ppa:cassou/emacs  
sudo apt-get update  
sudo apt-get install emacs24 emacs24-el emacs24-common-non-dfsg  

#安装字体(不安装字体汉字看起来特别小)
sudo apt-get install ttf-wqy-zenhei xfonts-wqy ttf-wqy-microhei

#在.emacs 中加入
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(default ((t (:family "Ubuntu Mono" :foundry "unknown" :slant normal :weight normal :height 128 :width normal)))))


#这些是我用的插件要安装的依赖,也许你不需要
sudo apt-get install bzr
sudo apt-get install cvs
sudo apt-get install autoconf
sudo apt-get install sdcv

目录