Last active
March 28, 2022 11:41
-
-
Save amfern/22547d168faa105d2fbdc701e9ee2f77 to your computer and use it in GitHub Desktop.
Emacs.git ubuntu install
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
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa | |
sudo apt install gcc-10 g++-10 libgccjit0 libgccjit-11-dev libjansson4 libjansson-dev libmagickwand-dev | |
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig | |
export CC=/usr/bin/gcc-10 CXX=/usr/bin/gcc-10 | |
git clone git@github.com:emacs-mirror/emacs.git && cd emacs | |
./autogen.sh | |
./configure --prefix=/usr/local --with-gameuser=:games --with-sound=alsa --with-modules --without-libotf --without-m17n-flt --without-gconf --without-gsettings --with-native-compilation --with-xinput2 --with-pgtk --without-xaw3d --with-sound=no --without-gpm --without-compress-install --program-transform-name=s/\([ec]tags\)/\1.emacs/ | |
make -j$(nproc) | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment