Skip to content

Instantly share code, notes, and snippets.

@jemadux
Created September 4, 2023 14:31
Show Gist options
  • Save jemadux/c6b1acaab1bb887277f73bc15267fb49 to your computer and use it in GitHub Desktop.
Save jemadux/c6b1acaab1bb887277f73bc15267fb49 to your computer and use it in GitHub Desktop.
Download the sources from https://www.gnu.org/software/emacs/download.html
Unpack somewhere, make sure you have the dependencies necessary to build the
software. Then configure:
./configure --with-mailutils --without-gsettings --without-libsystemd \
--with-imagemagick --with-x --with-x-toolkit=lucid \
--with-json --with-native-compilation --no-create \
--no-recursion
Then make and make install:
make -j 8 && sudo make install
You can compile faster by telling make to run several jobs in parallel. Use of
the -j flag exists for that purpose.
See: https://www.gnu.org/software/make/manual/html_node/Parallel.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment