linux下emacs安装

安装emacs

1、首先上emacs网站下载安装源emacs-22.3.tar.gz,具体下载路径就自己去Google找吧
2、解压缩文件:

1 [root@localhost software]# tar emacs-22.3.tar.gz 

3、进入路径

1 [root@localhost software]# cd /demo/software/emacs-22.3
2 [root@localhost emacs-22.3]# 
3、然后就是安装
1 [root@localhost emacs-22.3]# ./configure 

 1 configure: creating ./config.status
 2 config.status: creating Makefile
 3 config.status: creating lib-src/Makefile.c
 4 config.status: creating oldXMenu/Makefile
 5 config.status: creating man/Makefile
 6 config.status: creating lwlib/Makefile
 7 config.status: creating src/Makefile.c
 8 config.status: creating lisp/Makefile
 9 config.status: creating lispref/Makefile
10 config.status: creating lispintro/Makefile
11 config.status: creating leim/Makefile
12 config.status: creating src/config.h
13 config.status: executing default commands
14 creating src/epaths.h
15 creating lib-src/Makefile
16 creating src/Makefile
17
4、输入make命令
注:这里会在当前目录下创建一个src的子目录,并会创建Emacs程序和Makefile文件
1 [root@localhost emacs-22.3]# make

make完毕后,会在src子目录下生成emacs程序,试运行一下:src/emacs -q,如果弹出emacs的界面,那就表示运行成功,那么就进行下一步安装


5、输入命令make install,记得退回到目录emacs-22.3,之前的目录是emacs-22.3/src
1 [root@localhost emacs-22.3]# make install

6、输入命令make clear,清空中间文件
1 [root@localhost emacs-22.3]# make clean


7、此时emacs已经安装完毕,输入命令emacs,弹出emacs界面就表示安装成功

8、备注

这个Emacs23版本默认的安装路径是/usr/local,如果你不喜欢它被拆成好几块,分别存在以下目录中:
/usr/local/bin
/usr/local/share/emacs/VERSION/lisp
/usr/local/share/emacs/VERSION/etc
/usr/local/libexec/emacs/VERSION/CONFIGURATION-NAME
/usr/local/info
/usr/local/man/man1

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值