#+date: 2022-12-14 #+options: toc:nil num:nil * Compiling emacs in GNU linux systems Install ~build-essential~ #+begin_example sh sudo apt install build-essential #+end_example #+begin_example sh sudo apt update && sudo apt build-dep emacs #+end_example Download emacs (tarball) and open the directory https://www.gnu.org/software/emacs/ #+begin_example sh ./autogen.sh #+end_example #+begin_example sh ./configure #+end_example #+begin_example sh sudo make install #+end_example ** Facing problems due to lack of XLibs in Debian system Install the following libraries: (for Debian Buster) libc6-dev libjpeg62-turbo libncurses5-dev libpng-dev libtiff5-dev libgif-dev xaw3dg-dev zlib1g-dev libx11-dev