Difference between revisions of "GNULinux"

From WikEmacs
Jump to navigation Jump to search
(Created page with "== Installing == Given that Linux is more or less the home os of Emacs it presents us with the most installation options. Of course, you can build Emacs from [https://github....")
 
Line 1: Line 1:
 
== Installing ==
 
== Installing ==
  
Given that Linux is more or less the home os of Emacs it presents us with the most installation options. Of course, you can build Emacs from [https://github.com/emacsmirror/emacs source] on every distribution out there, but why bother to do so? Using the distribution’s package manager is a better idea for many reasons - you don’t need to install a build chain and lots of dev libraries, you get updated versions when they are released and you get automated dependency manager, just to name a few.
+
; Building Emacs
 
+
: You can build Emacs from [https://github.com/emacsmirror/emacs source] on every distribution out there
 +
: Use this option only if the distribution doesn't already provide an Emacs version of interest to you.
  
 
That said, few distributions include in their primary repositories builds of Emacs 24. Luckily there are some unofficial repos that come to the rescue.
 
That said, few distributions include in their primary repositories builds of Emacs 24. Luckily there are some unofficial repos that come to the rescue.
  
Debian users should look no further than the amazing [http://emacs.naquadah.org/ emacs-snapshot APT repo]. You’ll find installation instructions there for all the relevant Debian versions out there. High quality, highly recommended builds! After you’ve added the repo you can install Emacs 24 with the following command:
+
; Debian
 +
: See [http://emacs.naquadah.org/ emacs-snapshot APT repo]. The page contains installation instructions.
 +
: High quality, highly recommended builds! After adding the repo install with the following command:
 +
: <source lang="bash">
 +
: $ sudo apt-get install emacs-snapshot
 +
: </source>
  
<source lang="bash">
+
; Ubuntu
$ sudo apt-get install emacs-snapshot
+
: <source lang="bash">
</source>
+
: $ sudo apt-add-repository ppa:cassou/emacs
Ubuntu users have easy access to Emacs 24 as well:
+
: $ sudo apt-get install emacs-snapshot
 +
: </source>
  
<source lang="bash">
+
; Gentoo
$ sudo apt-add-repository ppa:cassou/emacs
+
: See [http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml Emacs on Gentoo page].
$ sudo apt-get install emacs-snapshot
 
</source>
 
Gentoo users have even less to do, since Emacs 24 can be obtained via the emacs-vcs package in portage, as noted in the official [http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml Emacs on Gentoo page].
 
  
Arch Linux users can install Emacs 24 from the Arch User Repository ([http://aur.archlinux.org/index.php AUR]) with the package [http://aur.archlinux.org/packages.php?ID=33337 emacs-bzr].
+
; Arch Linux users
 +
: See  [http://aur.archlinux.org/packages.php?ID=33337 emacs-bzr] package from [http://aur.archlinux.org/index.php AUR]
  
Slackware users can compile and install Emacs 24 by using the following unofficial SlackBuild script: [http://github.com/cycojesus/slackbuilds/tree/master/e/emacs emacs.SlackBuild].
+
; Slackware
 +
: Compile and Install using [http://github.com/cycojesus/slackbuilds/tree/master/e/emacs emacs.SlackBuild (unofficial)].
  
Unfortunately they don't seem to be any prebuilt Emacs 24 packages for any of the RPM distros (Fedora, SUSE, Mandriva, etc).
+
; Fedora, SuSE, Mandriva
 +
: No pre-built packages
  
[[Category:GNULinux]]
+
[[Category:GNULinux]][[Category:Emacs-24.1]]

Revision as of 21:50, 26 March 2012

Installing

Building Emacs
You can build Emacs from source on every distribution out there
Use this option only if the distribution doesn't already provide an Emacs version of interest to you.

That said, few distributions include in their primary repositories builds of Emacs 24. Luckily there are some unofficial repos that come to the rescue.

Debian
See emacs-snapshot APT repo. The page contains installation instructions.
High quality, highly recommended builds! After adding the repo install with the following command:
: $ sudo apt-get install emacs-snapshot
:
Ubuntu
: $ sudo apt-add-repository ppa:cassou/emacs
: $ sudo apt-get install emacs-snapshot
:
Gentoo
See Emacs on Gentoo page.
Arch Linux users
See emacs-bzr package from AUR
Slackware
Compile and Install using emacs.SlackBuild (unofficial).
Fedora, SuSE, Mandriva
No pre-built packages