Difference between revisions of "Installing Emacs on GNU/Linux"
Jump to navigation
Jump to search
JorgePeixoto (talk | contribs) (→Gentoo: Updated Gentoo wiki pages on Emacs) |
JorgePeixoto (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
For a more recent build, try installing GNU Guix, Distrobox, building from [https://git.savannah.gnu.org/cgit/emacs.git source] or one of the following unofficial repositories for your distribution. | For a more recent build, try installing GNU Guix, Distrobox, building from [https://git.savannah.gnu.org/cgit/emacs.git source] or one of the following unofficial repositories for your distribution. | ||
− | = Debian | + | = Debian = |
− | |||
− | |||
== Emacs 29.4 (on [https://backports.debian.org/ bookworm-backports]) == | == Emacs 29.4 (on [https://backports.debian.org/ bookworm-backports]) == | ||
<source lang="bash"> | <source lang="bash"> | ||
− | # As root ( | + | # As root (doas, sudo or su) |
apt install emacs | apt install emacs | ||
</source> | </source> | ||
− | == Emacs 28.2 == | + | == Emacs 28.2 (on Debian Bookworm) == |
+ | |||
+ | Debian bookworm is (as of 2024-10-08) Debian stable, released on 2023-06-10. | ||
<source lang="bash"> | <source lang="bash"> | ||
− | # As root ( | + | # As root (doas, sudo or su) |
apt install emacs | apt install emacs | ||
</source> | </source> | ||
Line 39: | Line 39: | ||
== Emacs Daily == | == Emacs Daily == | ||
− | + | First read the disclaimer on the [https://launchpad.net/~ubuntu-elisp/+archive/ubuntu/ppa#edit-description Ubuntu Emacs Lisp PPA description] | |
<source lang="bash"> | <source lang="bash"> | ||
Line 52: | Line 52: | ||
= Arch Linux = | = Arch Linux = | ||
− | == Emacs | + | == Emacs 29.4 == |
<source lang="bash"> | <source lang="bash"> | ||
− | + | # As root (doas, sudo or su) | |
+ | pacman -S emacs | ||
</source> | </source> | ||
Line 70: | Line 71: | ||
= Fedora = | = Fedora = | ||
− | == Emacs | + | == Emacs 29.4 == |
− | Available | + | Available since at least Fedora 39. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="bash"> | <source lang="bash"> | ||
− | + | # As root (with doas, sudo or su) | |
+ | dnf install emacs | ||
</source> | </source> | ||
− | = | + | = openSUSE = |
− | == Emacs | + | == Emacs 27.2 (openSUSE Leap 15.6) == |
− | |||
− | |||
<source lang="bash"> | <source lang="bash"> | ||
− | + | # As root (with doas, sudo or su) | |
+ | zypper install emacs | ||
</source> | </source> | ||
− | == Emacs | + | == Emacs 29.4 (openSUSE Tumbleweed) == |
− | + | Recent Emacs is available on openSUSE Tumbleweed (tested rolling release distribution) and possibly also on openSUSE Leap from [https://en.opensuse.org/Portal:Factory Factory repo]. | |
<source lang="bash"> | <source lang="bash"> | ||
− | + | # As root (with doas, sudo or su) | |
+ | zypper install emacs | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
[[Category:GNU/Linux]][[Category:Beginner]][[Category:Install Or Upgrade]] | [[Category:GNU/Linux]][[Category:Beginner]][[Category:Install Or Upgrade]] |
Latest revision as of 16:45, 8 October 2024
Check if your distribution already provides an Emacs version of interest to you.
For a more recent build, try installing GNU Guix, Distrobox, building from source or one of the following unofficial repositories for your distribution.
Debian
Emacs 29.4 (on bookworm-backports)
# As root (doas, sudo or su)
apt install emacs
Emacs 28.2 (on Debian Bookworm)
Debian bookworm is (as of 2024-10-08) Debian stable, released on 2023-06-10.
# As root (doas, sudo or su)
apt install emacs
Ubuntu
Emacs 29.3 on Ubuntu 24.04 LTS (Noble Numbat)
# As root (doas, sudo or su)
apt-get install emacs
Emacs Daily
First read the disclaimer on the Ubuntu Emacs Lisp PPA description
# As root (doas, sudo or su)
apt-add-repository ppa:ubuntu-elisp/ppa
apt-get install emacs-snapshot emacs-snapshot-el
Gentoo
See GNU Emacs - Gentoo wiki and Project:GNU Emacs/Developer guide - Gentoo wiki.
Arch Linux
Emacs 29.4
# As root (doas, sudo or su)
pacman -S emacs
Emacs-git
Compile and Install bleeding edge using AUR:
$ yaourt -S emacs-git
Slackware
Compile and Install using emacs.SlackBuild (unofficial).
Fedora
Emacs 29.4
Available since at least Fedora 39.
# As root (with doas, sudo or su)
dnf install emacs
openSUSE
Emacs 27.2 (openSUSE Leap 15.6)
# As root (with doas, sudo or su)
zypper install emacs
Emacs 29.4 (openSUSE Tumbleweed)
Recent Emacs is available on openSUSE Tumbleweed (tested rolling release distribution) and possibly also on openSUSE Leap from Factory repo.
# As root (with doas, sudo or su)
zypper install emacs