I have an 8-core CPU, therefore the make -j8.Īs you can see I went with the minimal feature-set needed by me (only
We configure, compile and install Emacs.We switch to the Emacs’s repo folder, so we can start the build process there.You’ll get pretty informative error messages from configure, so it’d be easy to install whatever else is needed. Perhaps some other packages were also needed, but I just had them installed beforehand.I guess it’s clear why we need libgtk-3-dev.
I guess those commands are self-explanatory, but let’s go over them in some details: $ sudo apt install build-essential libgtk-3-dev libgnutls28-dev libtiff5-dev libgif-dev libjpeg-dev libpng-dev libxpm-dev libncurses-dev texinfo Ubuntu 20.04 (running on Windows 11) and the build process was super simple: $ git clone git://git.sv.gnu.org/emacs.git When I learned we have to wait for Emacs 29, instead of Emacs 28, I immediately decided to build Emacs from the master branch. Truth be told, I was under the impression the pgtk branch was already merged months ago and was going to be shipped with Emacs 28.1, but it turns out I was mistaken. I was super excited about it, because this meant proper Wayland support for Emacs and by association - native supportįor running Emacs’s GUI version on Windows 11 with WSL. pgtk) feature branch was finally merged in Emacs’s master.