Difference between revisions of "Installing Emacs on GNU/Linux"

From WikEmacs
Jump to navigation Jump to search
(→‎Arch Linux: Updated installation methods.)
(6 intermediate revisions by 5 users not shown)
Line 2: Line 2:
  
 
If you are interested in daily builds or latest binaries,  try building from [https://github.com/emacsmirror/emacs source] or try one of the following unofficial repositories based on your distribution.
 
If you are interested in daily builds or latest binaries,  try building from [https://github.com/emacsmirror/emacs source] or try one of the following unofficial repositories based on your distribution.
 
 
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
 
 
  
 
= Debian =
 
= Debian =
Line 14: Line 10:
 
$ sudo apt-get install emacs
 
$ sudo apt-get install emacs
 
</source>
 
</source>
 
 
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
 
 
  
 
== Emacs 24 ==
 
== Emacs 24 ==
Line 24: Line 16:
 
$ sudo apt-get install emacs-snapshot
 
$ sudo apt-get install emacs-snapshot
 
</source>
 
</source>
 
 
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
 
 
  
 
= Ubuntu =
 
= Ubuntu =
Line 37: Line 25:
 
</source>
 
</source>
  
 +
== Emacs 24 ==
 +
The following PPA is no longer maintained and currently features Emacs 24.3.
  
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
+
<source lang="bash">
 +
$ sudo apt-add-repository ppa:cassou/emacs
  
 
+
$ sudo apt-get install emacs24 emacs24-el emacs24-common-non-dfsg
== Emacs 24 ==
 
<source lang="bash">
 
$ sudo apt-add-repository ppa:cassou/emacs
 
$ sudo apt-get install emacs24
 
 
</source>
 
</source>
  
 +
== Emacs Daily ==
  
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
+
<source lang="bash">
 +
$ sudo apt-add-repository ppa:ubuntu-elisp/ppa
  
 +
$ sudo apt-get install emacs-snapshot emacs-snapshot-el
 +
</source>
  
 
= Gentoo =
 
= Gentoo =
 
See [http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml Emacs on Gentoo page].
 
See [http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml Emacs on Gentoo page].
 
 
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
 
 
  
 
= Arch Linux =
 
= Arch Linux =
  
== Emacs 23 ==
+
== Emacs 24 ==
  
 
<source lang="bash">
 
<source lang="bash">
 
$ sudo pacman -S emacs
 
$ sudo pacman -S emacs
 
</source>
 
</source>
 
 
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
 
 
 
== Emacs 24 ==
 
 
See  [http://aur.archlinux.org/packages.php?ID=33337 emacs-bzr] package from [http://aur.archlinux.org/index.php AUR]
 
  
 
= Slackware =
 
= Slackware =
 
Compile and Install using [http://github.com/cycojesus/slackbuilds/tree/master/e/emacs emacs.SlackBuild (unofficial)].
 
Compile and Install using [http://github.com/cycojesus/slackbuilds/tree/master/e/emacs emacs.SlackBuild (unofficial)].
 
 
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
 
 
  
 
= Fedora =
 
= Fedora =
Line 94: Line 69:
 
$ sudo yum install emacs
 
$ sudo yum install emacs
 
</source>
 
</source>
 
 
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
 
 
  
 
= SUsE =
 
= SUsE =
Line 108: Line 79:
 
$ sudo zypper install emacs
 
$ sudo zypper install emacs
 
</source>
 
</source>
 
 
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
 
 
  
 
== Emacs 24 ==
 
== Emacs 24 ==
Line 120: Line 87:
 
$ sudo zypper install emacs
 
$ sudo zypper install emacs
 
</source>
 
</source>
 
 
'''Source(s):'''  [http://www.downloadranking.com  Emacs solutions]
 
 
  
 
= Mandriva =
 
= Mandriva =

Revision as of 22:53, 22 July 2015

Check if your distribution already provides an Emacs version of interest to you.

If you are interested in daily builds or latest binaries, try building from source or try one of the following unofficial repositories based on your distribution.

Debian

Emacs 23

$ sudo apt-get install emacs

Emacs 24

See emacs-snapshot APT repo. The page contains installation instructions. High quality, highly recommended builds! After adding the repo according to the instructions linked to above, install with the following command:

$ sudo apt-get install emacs-snapshot

Ubuntu

Emacs 23

$ sudo apt-get install emacs

Emacs 24

The following PPA is no longer maintained and currently features Emacs 24.3.

	
$ sudo apt-add-repository ppa:cassou/emacs

$ sudo apt-get install emacs24 emacs24-el emacs24-common-non-dfsg

Emacs Daily

$ sudo apt-add-repository ppa:ubuntu-elisp/ppa

$ sudo apt-get install emacs-snapshot emacs-snapshot-el

Gentoo

See Emacs on Gentoo page.

Arch Linux

Emacs 24

$ sudo pacman -S emacs

Slackware

Compile and Install using emacs.SlackBuild (unofficial).

Fedora

Emacs 23

Available up to Fedora 16

$ sudo yum install emacs

Emacs 24

Available from Fedora 17+

$ sudo yum install emacs

SUsE

Emacs 23

Available in 12.1 and 12.2. Before that? not sure.

$ sudo zypper install emacs

Emacs 24

Not available till 12.2, but available from Factory repo. Add factory repo and then,

$ sudo zypper install emacs

Mandriva

No pre-built packages.