Install Emacs 24.3 on Debian 7.4
I install Emacs 24.3 on Debian 7.4. I referenced my blog on 2013/03/05. In my memory, target OS was Debian Squeeze at that time. But now, current OS is Debian wheezy. I guess the procedure is almost same, though something will be different.
- apt-get install ttf-inconsolata
- apt-get install build-essential
- apt-get install xorg-dev
- apt-get install libgtk2.0-dev
- apt-get install libjpeg-dev
- apt-get install libgif-dev
- apt-get install libtiff-dev
- apt-get install libncurses-dev
- apt-get install autoconf
- wget http://ftp.gnu.org/pub/gnu/emacs/emacs-24.3.tar.gz
- tar xvfz emacs-24.3.tar.gz
- cd emacs-24.3
- ./configure
- make
- make install
In my environment, the command "apt-get install autoconf" is required.
After installation would be finished, install skk.
- su -
- check the skk latest version
- wget http://openlab.ring.gr.jp/skk/maintrunk/ddskk-15.1.tar.gz(15.1 means latest version)
- tar xvzf ddskk-15.1.tar.gz
- cd ddskk-15.1
- make what-where, check the install locations.(cf:http://d.hatena.ne.jp/shammer/20130320/p1)
- make install
- exit root
- mkdir -p $/HOME/.emacs.d/share/skk
- cd $HOME/.emacs.d/share/skk
- wget http://openlab.ring.gr.jp/skk/skk/dic/SKK-JISYO.L
After installing ddskk, generate $HOME/.emacs.d/init.el. The following is my least configurations.
(when window-system (tool-bar-mode -1) (create-fontset-from-ascii-font "Inconsolata:slant=normal" nil "myfavoritefont") (set-fontset-font "fontset-myfavoritefont" 'japanese-jisx0208 ;'unicode (font-spec :family "Inconsolata" :size 12) nil 'append) (add-to-list 'default-frame-alist '(font . "fontset-myfavoritefont"))) (require 'skk-autoloads) (setq default-input-method "japanese-skk") (setq skk-preload t) (setq skk-henkan-strict-okuri-precedence t) (setq skk-check-okurigana-on-touroku t) (setq skk-auto-insert-param t) (setq skk-egg-like-newline t) (setq skk-show-annotation t) (setq skk-large-jisyo "~/.emacs.d/share/skk/SKK-JISYO.L") (setq skk-tut-file "/usr/local/share/skk/SKK.tut") (setq skk-user-directory "~/.emacs.d/share/skk") (setq skk-previous-candidate-keys (list "x")) (delete-selection-mode t) (setq auto-save-default nil) (setq-default make-backup-files nil) (setq line-number-mode t) (require 'linum) (global-linum-mode) (setq linum-format "%5d ") (setq column-number-mode t) (display-time)