1

I've downloaded the .tar.xz file from the GNU Emacs page, and extracted it, but now I have a huge directory full of files, and I have no idea what to do with them. The README is unhelpful, too.

I am using Ubuntu 18.04 in WSL 1. That means I only have a CLI to work with unless I use an external X server.

I don't want any of the apt packages for emacs. I know how to install them, I want the latest version (GNU Emacs 26.3).

  • To start, 1) which Linux version have you installed (Ubuntu server, Ubuntu desktop, Kubuntu, Lubuntu, Xubuntu, Ubuntu MATE, et al.), & 2) which release number? Different releases have different tools for us to recommend. 3) Did you want emacs w/ the GTK+,GUI packages.ubuntu.com/bionic/emacs25, the Lucid GUI packages.ubuntu.com/bionic/emacs25-lucid, or no GUI packages.ubuntu.com/bionic/emacs25-nox ? Please click edit and add that vital info to your question so all the facts we need are in the question. Please don't use Add Comment, since that's our channel to you. – K7AAY May 11 at 21:04
  • You want instructions on building emacs. The emacs source has tons of documentarian, explore. Read [A-Z]* to start. – waltinator May 12 at 3:41
4

To install WSL 2, you will need the following requirements:

  • Windows 10 Insider Preview Build 18917 or higher.
  • WSL 2 will be generally available in Windows 10, version 2004 and later.

The latest stable version of Emacs 26.3 is a native Ubuntu package and can be installed in WSL 2 in all currently supported versions of Ubuntu with the following command:

sudo snap install emacs --classic

The beta version (27 at the time of the answer) can be installed with:

sudo snap install emacs --channel=beta --classic

The latest development version of Emacs 28.0 can be installed with the following command:

sudo snap install emacs --channel=edge --classic
| improve this answer | |
  • Sadly, I can't use snap in WSL – schuelermine May 19 at 11:18
  • The current snap is ( github.com/alexmurray/emacs-snap ) . I end up installing from ( sudo add-apt-repository ppa:kelleyk/emacs ), which leads me to face with socket problems on emacs --daemon. – alper Jul 20 at 11:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.