emacs(Xなし版)をインストールする。
$ sudo yum -y install emacs-nox
通常盤のemacsとは別にemacs-noxというパッケージがあるのでこっちを入れる。不要な物も入らないし、容量も少なくてすむ。
Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: www.ftp.ne.jp * epel: ftp.iij.ad.jp * extras: www.ftp.ne.jp * updates: www.ftp.ne.jp Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package emacs-nox.x86_64 1:23.1-21.el6_2.3 will be installed --> Processing Dependency: emacs-common = 1:23.1-21.el6_2.3 for package: 1:emacs-nox-23.1-21.el6_2.3.x86_64 --> Running transaction check ---> Package emacs-common.x86_64 1:23.1-21.el6_2.3 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: emacs-nox x86_64 1:23.1-21.el6_2.3 base 1.9 M Installing for dependencies: emacs-common x86_64 1:23.1-21.el6_2.3 base 18 M Transaction Summary ================================================================================ Install 2 Package(s) Total download size: 20 M Installed size: 68 M Downloading Packages: -------------------------------------------------------------------------------- Total 2.5 MB/s | 20 MB 00:07 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : 1:emacs-common-23.1-21.el6_2.3.x86_64 1/2 Installing : 1:emacs-nox-23.1-21.el6_2.3.x86_64 2/2 Verifying : 1:emacs-nox-23.1-21.el6_2.3.x86_64 1/2 Verifying : 1:emacs-common-23.1-21.el6_2.3.x86_64 2/2 Installed: emacs-nox.x86_64 1:23.1-21.el6_2.3 Dependency Installed: emacs-common.x86_64 1:23.1-21.el6_2.3 Complete!