forked from hubisan/emacs-wsl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
emacs-27.sh
executable file
·28 lines (23 loc) · 1008 Bytes
/
emacs-27.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
# install emacs 27
## install dependencies
sudo apt install -y autoconf automake autotools-dev bsd-mailx build-essential \
diffstat gnutls-dev imagemagick libasound2-dev libc6-dev libdatrie-dev \
libdbus-1-dev libgconf2-dev libgif-dev libgnutls28-dev libgpm-dev libgtk2.0-dev \
libgtk-3-dev libice-dev libjpeg-dev liblockfile-dev liblqr-1-0 libm17n-dev \
libmagickwand-dev libncurses5-dev libncurses-dev libotf-dev libpng-dev \
librsvg2-dev libsm-dev libthai-dev libtiff5-dev libtiff-dev libtinfo-dev libtool \
libx11-dev libxext-dev libxi-dev libxml2-dev libxmu-dev libxmuu-dev libxpm-dev \
libxrandr-dev libxt-dev libxtst-dev libxv-dev quilt sharutils texinfo xaw3dg \
xaw3dg-dev xorg-dev xutils-dev zlib1g-dev libjansson-dev libxaw7-dev \
libselinux1-dev libmagick++-dev libacl1-dev
## download and install
cd ~
git clone -b emacs-27 --depth 1 git://git.sv.gnu.org/emacs.git
cd emacs
./autogen.sh
./configure
make
sudo make install
cd ~
rm -rf ~/emacs