speg03の雑記帳

主に未来の自分のために試したことなどを記録しています

Emacs 23.1 on CentOS

yumで普通にEmacs入れたら21とか言ってて絶望した!ので、かっとなって23入れた。別に後悔してない。

emacs-23.1.tar.gzを使いました。

インストール途中でいろいろ足りない言われたので先に入れておいたほうがいいもの。

$ sudo yum install gcc
$ sudo yum install texinfo

texinfoはmake installするときにmakeinfoがないよ!と言われたので入れた。(参考: makeinfoがない - higepon blog

あとはぬるぬるといんすとーる。

$ tar xvzf emacs-23.1.tar.gz
$ cd emacs-23.1
$ ./configure --without-x  # Xは入れてないので
$ make
$ src/emacs -q  # 起動確認とか
$ sudo make install
$ emacs --version
GNU Emacs 23.1.1
Copyright (C) 2009 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

てなもんです。