debian7安装emacs24

 最近在学习linux,在debian7(kde)中默认的是emacs23,我想使用以前在ubuntu中安装的emacs24,如下处理的方法,参考自http://emacs.naquadah.org/和http://pkgs.org/debian-wheezy/debian-nonfree-i386/emacs24-common-non-dfsg_24.1+1-1_all.deb.html,如下是处理的流程:

1 sh下运行

 sudo apt-get update

wget -q -O - http://emacs.naquadah.org/key.gpg | sudo apt-key add -
2 然后根据自己的情况添加源(),有三种,我的debian是stable

sh下运行

sudo cp /etc/apt/sources.list /etc/apt/sources.list_back           ---------------(备份)

sudo kate /etc/apt-sources.list

然后选择

Debian oldstable

deb http://emacs.naquadah.org/ oldstable/
deb-src http://emacs.naquadah.org/ oldstable/

Debian unstable

deb http://emacs.naquadah.org/ unstable/
deb-src http://emacs.naquadah.org/ unstable/
Debian stable
deb http://emacs.naquadah.org/ stable/
deb-src http://emacs.naquadah.org/ stable/
3 然后开始安装

sudo apt-get install emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot

4 如下是效果图

debian7安装emacs24_第1张图片



你可能感兴趣的:(debian7,emacs24)