Difference between revisions of "Installing Emacs"

From WikEmacs
Jump to navigation Jump to search
Line 5: Line 5:
 
Emacs is available on all popular [[:Category:Operating System]] including [[GNULinux]], [[OSX]] and [[Windows]].
 
Emacs is available on all popular [[:Category:Operating System]] including [[GNULinux]], [[OSX]] and [[Windows]].
  
=== [[:Category:OS X| OS X]] ===
+
=== [[OSX]] ===
  
Obtaining Emacs 24 on OS X is really simple. There are several popular ways to do it.
 
  
==== As a binary package ====
 
 
Simply download a pretest (or a nightly build) from [http://emacsformacosx.com Emacs for OSX].  Probably the best option would be to get the latest pretest from [http://emacsformacosx.com/builds here].
 
 
==== Build it from source ====
 
 
The second easy way to obtain Emacs 24 is via [http://mxcl.github.com/homebrew/ homebrew]. Just type the following incantation in your shell and you’re done:
 
 
<source lang="bash">
 
$ brew install emacs --cocoa --use-git-head --HEAD
 
$ cp -r /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/
 
</source>
 
The second step is optional, but it’s recommended if you like to start Emacs from the launchpad or from Spotlight.
 
 
Chances are good you have an older version of Emacs installed by default with OS X. It's suggested you to remove that older Emacs version to avoid conflicts with the new one. Do this:
 
 
<source lang="bash">
 
$ sudo rm /usr/bin/emacs
 
$ sudo rm -rf /usr/share/emacs
 
</source>
 
That’s all folk! You may now proceed to the configuration section.
 
 
==== Use a package manager (Emacs 23 only at time of writing) ====
 
 
* Fink
 
* MacPorts
 
<source lang="bash">
 
port install emacs
 
</source>
 
 
You can add <tt>+<variant> [+<variant>...]</tt> where <tt>variant</tt> is one or more of:
 
* dbus: Builds emacs with D-Bus support
 
* gtk: Builds emacs as an X11 program with GTK+2 widgets
 
* motif: Builds emacs as an X11 program with Motif
 
* universal: Build for multiple architectures
 
* x11: Builds emacs as a X11 program with Lucid widgets
 
The gtk, motif and x11 variants require (depend on) MacPorts' X11 libraries.
 
 
==== Download and install Aquamacs ====
 
  
 
=== [[GNULinux]] ===
 
=== [[GNULinux]] ===
  
 
[[Category:Getting started]]
 
[[Category:Getting started]]

Revision as of 14:40, 25 March 2012

Getting Emacs

The latest released version of Emacs is Emacs-23.4. The next higher revision of Emacs is Emacs-24.1 and is in Pretest' stage.

Emacs is available on all popular Category:Operating System including GNULinux, OSX and Windows.

OSX

GNULinux