Created
December 20, 2019 05:33
-
-
Save kshwetabh/f040a1df58baa8616d2a9ae7a077470b to your computer and use it in GitHub Desktop.
InstallEmacs In WSL (Windows 10)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Copied from https://github.com/hubisan/emacs-wsl for duplication in case that repo is gone. | |
## install dependencies | |
sudo apt install -y build-essential texinfo libx11-dev libxpm-dev \ | |
libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev \ | |
libncurses-dev gnutls-dev libgtk-3-dev libgnutls28-dev | |
# some more from a stackoverflow, eww was not working before | |
sudo apt install -y autoconf automake libtool xorg-dev libncurses5-dev \ | |
libdbus-1-dev libm17n-dev librsvg2-dev libotf-dev libxml2-dev \ | |
libmagickwand-dev libc6-dev libtiff5-dev xaw3dg-dev \ | |
zlib1g-dev libice-dev libsm-dev libxext-dev libxi-dev libxmu-dev \ | |
libxmuu-dev libxrandr-dev libxt-dev libxtst-dev libxv-dev | |
## download and install | |
cd ~ | |
wget https://ftp.gnu.org/pub/gnu/emacs/emacs-26.3.tar.gz | |
tar -xzvf emacs-26.3.tar.gz | |
cd emacs-26.3 | |
./configure | |
make | |
sudo make install | |
cd ~ | |
rm -rf ~/emacs-26.3 | |
rm ~/emacs-26.3.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment