Friday 11 February 2011

Get emacs24 for linux now

--8<---Get EMACS24 Begins--->8--

Using debian so the following may need adjustment for other distros.

** # To install development Version of Emacs install the following
agi is an alias in my .bashrc for apt-get install in your favourite editor edit ~/.bashrc
then type:
alias agi='apt-get install'
saves you I meant me typeing...
agi lsb-rpm lintian binutils-multiarch libtext-template-perl
agi planner-el bbdb blosxom vm w3m-el gnuserv gnus
agi remember-el easypg org-mode
agi libwx-perl-datawalker-perl libwx-perl-dialog-perl libwx-perl-processstream-perl
libwx11-0 libwx11-0-dbg libwx11-dev libwxbase2.6-0 libwxbase2.6-dbg libwxbase2.6-dev
libwxbase2.8-0 libwxbase2.8-dbg libwxbase2.8-dev libwxgtk2.6-0 libwxgtk2.6-dbg
libwxgtk2.6-dev libwxgtk2.8-0 libwxgtk2.8-dbg libwxgtk2.8-dev libwxsmithlib0
libwxsmithlib0-dev libwxsvg-dev libwxsvg0 libwx-perl wx-common libfaad-dev libgsm1-dev
libogg-dev libschroedinger-dev libspeex-dev libtheora-dev libvorbis-dev libraw1394-dev
libdc1394-22-dev wx2.6-doc wx2.8-doc liborc-0.4-doc libraw1394-doc
The following will have to be installed before trying to compile emacs or the trunk.
agi xul-ext-adblock-plus conkeror conkeror-spawn-process-helper
agi imagemagick imagemagick-dbg imagemagick-doc libmagick++-dev libmagick++3 libmagickcore3
libmagickwand3 perlmagick gambas2-gb-image tex4ht tex4ht-common goby
nautilus-image-converter php5-imagick python-pythonmagick python-vipscc
agi libgif-dev libgif4 libgift-dev libgift0 libgiftproto-dev libgiftproto0 giflib-tools
libgif-dev libgif4 libtiff-doc libtiff-tools libtiff4 libtiff4-dev libtiffxx0c2
libtiff-opengl pngtools optipng pngcrush
agi cl-clg cl-launch cl-modlisp cl-swank clisp clisp-dev clisp-doc slime stumpwm bison-doc
db4.8-doc rlwrap sbcl sbcl-doc sbcl-source

# for myconfig install pythonmacs and ropemacs
agi python-ropemacs python-rope python-mysqldb python-pygments python-svn-dbg
python-mysqldb-dbg ttf-bitstream-vera python-gdbm-dbg python-tk-dbg
python-egenix-mxdatetime-dbg qct

From term Type: bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk
this will Download the trunk of the latest Emacs in a folder near YOU then to compile
cp -R /home/<your-home-folder>/trunk /usr/local/emacs-24.0.50/
cd /usr/local/emacs-24.0.50/
Start compile
(a little note you may need to run
sudo sh autogen.sh
or if logged in as root
sh autogen.sh) you should be ready now run or type
./configure
# As I'd already run ./configure I run the following to restart afresh
make distclean && ./configure
make
src/emacs -Q
# to test the freshly installed eMacs24
make install
make clean
# I could no longer find src/emacs I later found it in
ls -l /usr/local/bin/emacs-24.0.50
there you have it from now on run
/usr/local/bin/emacs-24.0.50

This gives you emacs-24.0.50.1 with CEDET, Auto-complete, pymacs, rope-macs,YASnippet, org-mode and the rest of the kitchen sink.


If you get any ERRORs please post the info in your comments I will do my best to help you.



--8<---Get EMACS24 Ends--->8--