Sunday, October 11, 2009

Myammee Nud�‰

EMACS from Source

This article is a translation of the original:
emacs Installing from source code

NOTE: All steps have been tested on GNU / Debian unstable. Should also work in Ubuntu. Let

install from source editor EMACS (it's actually more than a publisher, almost an operating system).


can get the source code in two ways:
* stable version.
* The development version from the repository.

Today (September 2009) the stable version is 23.1.


This article will use the stable version : $ wget http://ftp.gnu.org/gnu/emacs/emacs-23.1.tar.gz


If we download the development version from the repository:
$ git clone git: / / git.savannah.gnu.org / emacs.git

Unzip the tar.gz
$ tar xvfz emacs-23.1.tar.gz
$ cd emacs-23.1

need some packages to compile the sources:

Compiler: # aptitude install gcc

Some headers and libraries:
# aptitude install xorg-dev libgtk2.0-dev libtiff-dev libpng-dev-dev libgif libgpm-dev libdbus-1-dev

To avoid the error of "makeinfo is missing" when installing:
# aptitude install texinfo

the end, execute common commands to compile and install source :
$. / Configure

$ make # make install

If all went well, you can run emacs .


INTERESTING DOCUMENTS

Get the emacs lisp manual : $ wget http://ftp.gnu.org/gnu/emacs/elisp-manual-21-2.8.tar.gz


Introduction to Emacs Lisp introduction : $ wget http://ftp.gnu.org/gnu/emacs/emacs-lisp-intro-2.04.tar.gz


You can also order printed copies of these books to support FSF and GNU project .