posts - 38, comments - 13, trackbacks - 0, articles - 0
  IT博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

Linux软件安装记录

Posted on 2009-11-17 17:02 大源 阅读(533) 评论(0)  编辑 收藏 引用 所属分类: Linux

安装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 

 1configure: creating ./config.status
 2config.status: creating Makefile
 3config.status: creating lib-src/Makefile.c
 4config.status: creating oldXMenu/Makefile
 5config.status: creating man/Makefile
 6config.status: creating lwlib/Makefile
 7config.status: creating src/Makefile.c
 8config.status: creating lisp/Makefile
 9config.status: creating lispref/Makefile
10config.status: creating lispintro/Makefile
11config.status: creating leim/Makefile
12config.status: creating src/config.h
13config.status: executing default commands
14creating src/epaths.h
15creating lib-src/Makefile
16creating 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

只有注册用户登录后才能发表评论。