Skip to content

Instantly share code, notes, and snippets.

View wowsoso's full-sized avatar

Qi Wang wowsoso

View GitHub Profile
@shanbhardwaj
shanbhardwaj / build-emacs.sh
Last active August 24, 2026 22:01
Build emacs on ubuntu
# Setting up Emacs in our source directory
mkdir -p ~/src && cd ~/src
git clone --depth 1 --branch emacs-31 git://git.savannah.gnu.org/emacs.git
cd emacs
git checkout emacs-31
# Enable development libraries and update apt cache
# for Ubuntu >= 24.04
sudo sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources && apt update