https://wikemacs.org/api.php?action=feedcontributions&user=187.60.71.158&feedformat=atomWikEmacs - User contributions [en]2024-03-29T05:53:25ZUser contributionsMediaWiki 1.35.14https://wikemacs.org/index.php?title=Installing_Emacs_on_OS_X&diff=2869Installing Emacs on OS X2012-06-13T04:01:01Z<p>187.60.71.158: /* As a binary package */</p>
<hr />
<div>OSX comes with a preinstalled version of Emacs, but alas it the oudated Emacs 22. Obtaining a newer Emacs on OS X is really simple. There are several popular ways to do it. <br />
<br />
== Emacs 24 ==<br />
<br />
=== As a binary package ===<br />
<br />
Simply download a binary from [http://emacsformacosx.com Emacs for OSX]<br />
<br />
=== Build it from source ===<br />
<br />
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:<br />
<br />
<source lang="bash"><br />
$ brew update<br />
$ brew install emacs --cocoa<br />
$ cp -r /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/<br />
</source><br />
The second step is optional, but it’s recommended if you like to start Emacs from the launchpad or from Spotlight.<br />
<br />
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:<br />
<br />
<source lang="bash"><br />
$ sudo rm /usr/bin/emacs<br />
$ sudo rm -rf /usr/share/emacs<br />
</source><br />
That’s all folk! You may now proceed to the configuration section.<br />
<br />
== Emacs 23 ==<br />
<br />
=== As a binary package ===<br />
<br />
Simply download a binary from [http://emacsformacosx.com/builds Emacs for OSX].<br />
<br />
=== Use a package manager (Emacs 23 only at time of writing) ===<br />
<br />
* Fink<br />
* MacPorts<br />
<source lang="bash"><br />
port install emacs<br />
</source><br />
<br />
You can add <tt>+<variant> [+<variant>...]</tt> where <tt>variant</tt> is one or more of:<br />
* dbus: Builds emacs with D-Bus support<br />
* gtk: Builds emacs as an X11 program with GTK+2 widgets<br />
* motif: Builds emacs as an X11 program with Motif <br />
* universal: Build for multiple architectures<br />
* x11: Builds emacs as a X11 program with Lucid widgets<br />
The gtk, motif and x11 variants require (depend on) MacPorts' X11 libraries. They're mutually exclusive.<br />
<br />
== Aquamacs ==<br />
<br />
A near-OS-X-native port of GNU Emacs, integrating Emacs with all the features of Mac OS X.<br />
<br />
[[Category:OS X]][[Category:Beginner]][[Category:Install Or Upgrade]][[Category:Emacs-23]][[Category:Emacs-23.4]][[Category:Emacs-24]]</div>187.60.71.158https://wikemacs.org/index.php?title=Installing_Emacs_on_OS_X&diff=2868Installing Emacs on OS X2012-06-13T03:59:58Z<p>187.60.71.158: /* Build it from source */</p>
<hr />
<div>OSX comes with a preinstalled version of Emacs, but alas it the oudated Emacs 22. Obtaining a newer Emacs on OS X is really simple. There are several popular ways to do it. <br />
<br />
== Emacs 24 ==<br />
<br />
=== As a binary package ===<br />
<br />
Simply download a binary from [http://emacsformacosx.com Emacs for OSX]<br />
<br />
=== Build it from source ===<br />
<br />
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:<br />
<br />
<source lang="bash"><br />
$ brew update<br />
$ brew install emacs --cocoa<br />
$ cp -r /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/<br />
</source><br />
The second step is optional, but it’s recommended if you like to start Emacs from the launchpad or from Spotlight.<br />
<br />
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:<br />
<br />
<source lang="bash"><br />
$ sudo rm /usr/bin/emacs<br />
$ sudo rm -rf /usr/share/emacs<br />
</source><br />
That’s all folk! You may now proceed to the configuration section.<br />
<br />
== Emacs 23 ==<br />
<br />
=== As a binary package ===<br />
<br />
Simply download a binary from [http://emacsformacosx.com Emacs for OSX]. <br />
<br />
=== Use a package manager (Emacs 23 only at time of writing) ===<br />
<br />
* Fink<br />
* MacPorts<br />
<source lang="bash"><br />
port install emacs<br />
</source><br />
<br />
You can add <tt>+<variant> [+<variant>...]</tt> where <tt>variant</tt> is one or more of:<br />
* dbus: Builds emacs with D-Bus support<br />
* gtk: Builds emacs as an X11 program with GTK+2 widgets<br />
* motif: Builds emacs as an X11 program with Motif <br />
* universal: Build for multiple architectures<br />
* x11: Builds emacs as a X11 program with Lucid widgets<br />
The gtk, motif and x11 variants require (depend on) MacPorts' X11 libraries. They're mutually exclusive.<br />
<br />
== Aquamacs ==<br />
<br />
A near-OS-X-native port of GNU Emacs, integrating Emacs with all the features of Mac OS X.<br />
<br />
[[Category:OS X]][[Category:Beginner]][[Category:Install Or Upgrade]][[Category:Emacs-23]][[Category:Emacs-23.4]][[Category:Emacs-24]]</div>187.60.71.158https://wikemacs.org/index.php?title=Installing_Emacs_on_OS_X&diff=2867Installing Emacs on OS X2012-06-13T03:59:27Z<p>187.60.71.158: /* Build it from source */</p>
<hr />
<div>OSX comes with a preinstalled version of Emacs, but alas it the oudated Emacs 22. Obtaining a newer Emacs on OS X is really simple. There are several popular ways to do it. <br />
<br />
== Emacs 24 ==<br />
<br />
=== As a binary package ===<br />
<br />
Simply download a binary from [http://emacsformacosx.com Emacs for OSX]<br />
<br />
=== Build it from source ===<br />
<br />
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:<br />
<br />
<source lang="bash"><br />
$ brew install emacs --cocoa<br />
$ cp -r /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/<br />
</source><br />
The second step is optional, but it’s recommended if you like to start Emacs from the launchpad or from Spotlight.<br />
<br />
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:<br />
<br />
<source lang="bash"><br />
$ sudo rm /usr/bin/emacs<br />
$ sudo rm -rf /usr/share/emacs<br />
</source><br />
That’s all folk! You may now proceed to the configuration section.<br />
<br />
== Emacs 23 ==<br />
<br />
=== As a binary package ===<br />
<br />
Simply download a binary from [http://emacsformacosx.com Emacs for OSX]. <br />
<br />
=== Use a package manager (Emacs 23 only at time of writing) ===<br />
<br />
* Fink<br />
* MacPorts<br />
<source lang="bash"><br />
port install emacs<br />
</source><br />
<br />
You can add <tt>+<variant> [+<variant>...]</tt> where <tt>variant</tt> is one or more of:<br />
* dbus: Builds emacs with D-Bus support<br />
* gtk: Builds emacs as an X11 program with GTK+2 widgets<br />
* motif: Builds emacs as an X11 program with Motif <br />
* universal: Build for multiple architectures<br />
* x11: Builds emacs as a X11 program with Lucid widgets<br />
The gtk, motif and x11 variants require (depend on) MacPorts' X11 libraries. They're mutually exclusive.<br />
<br />
== Aquamacs ==<br />
<br />
A near-OS-X-native port of GNU Emacs, integrating Emacs with all the features of Mac OS X.<br />
<br />
[[Category:OS X]][[Category:Beginner]][[Category:Install Or Upgrade]][[Category:Emacs-23]][[Category:Emacs-23.4]][[Category:Emacs-24]]</div>187.60.71.158https://wikemacs.org/index.php?title=Installing_Emacs_on_OS_X&diff=2866Installing Emacs on OS X2012-06-13T03:56:42Z<p>187.60.71.158: /* As a binary package */</p>
<hr />
<div>OSX comes with a preinstalled version of Emacs, but alas it the oudated Emacs 22. Obtaining a newer Emacs on OS X is really simple. There are several popular ways to do it. <br />
<br />
== Emacs 24 ==<br />
<br />
=== As a binary package ===<br />
<br />
Simply download a binary from [http://emacsformacosx.com Emacs for OSX]<br />
<br />
=== Build it from source ===<br />
<br />
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:<br />
<br />
<source lang="bash"><br />
$ brew install emacs --cocoa --use-git-head --HEAD<br />
$ cp -r /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/<br />
</source><br />
The second step is optional, but it’s recommended if you like to start Emacs from the launchpad or from Spotlight.<br />
<br />
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:<br />
<br />
<source lang="bash"><br />
$ sudo rm /usr/bin/emacs<br />
$ sudo rm -rf /usr/share/emacs<br />
</source><br />
That’s all folk! You may now proceed to the configuration section.<br />
<br />
== Emacs 23 ==<br />
<br />
=== As a binary package ===<br />
<br />
Simply download a binary from [http://emacsformacosx.com Emacs for OSX]. <br />
<br />
=== Use a package manager (Emacs 23 only at time of writing) ===<br />
<br />
* Fink<br />
* MacPorts<br />
<source lang="bash"><br />
port install emacs<br />
</source><br />
<br />
You can add <tt>+<variant> [+<variant>...]</tt> where <tt>variant</tt> is one or more of:<br />
* dbus: Builds emacs with D-Bus support<br />
* gtk: Builds emacs as an X11 program with GTK+2 widgets<br />
* motif: Builds emacs as an X11 program with Motif <br />
* universal: Build for multiple architectures<br />
* x11: Builds emacs as a X11 program with Lucid widgets<br />
The gtk, motif and x11 variants require (depend on) MacPorts' X11 libraries. They're mutually exclusive.<br />
<br />
== Aquamacs ==<br />
<br />
A near-OS-X-native port of GNU Emacs, integrating Emacs with all the features of Mac OS X.<br />
<br />
[[Category:OS X]][[Category:Beginner]][[Category:Install Or Upgrade]][[Category:Emacs-23]][[Category:Emacs-23.4]][[Category:Emacs-24]]</div>187.60.71.158