Skip to content

Instantly share code, notes, and snippets.

@andru255
Created March 14, 2015 13:31
Show Gist options
  • Save andru255/6305e68e632eef288343 to your computer and use it in GitHub Desktop.
Save andru255/6305e68e632eef288343 to your computer and use it in GitHub Desktop.
Install emacs from source code in linux/debian
Install the dependencies
~ sudo apt-get install build-essential texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev
Clone the mirror repo
~ git clone --depth 1 https://github.com/emacs-mirror/emacs.git
Locate to the emacs folder
~ cd emacs
Execute the autogen
~ ./autogen.sh
Execute the default settings
~ ./configure
Making the installer
~ make
Execute the installer with superuser mode, basically the binary copy to the path /usr/local/bin
~ sudo make install
@Dagika1
Copy link

Dagika1 commented Apr 24, 2024

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment