Hacker News new | ask | show | jobs
by tmalsburg2 1297 days ago
I'm building from source because I want the latest features and bug fixes. It's really not that complicated. On Ubuntu, the following builds and installs Emacs into your home directory:

    sudo apt-get install build-essential
    sudo apt-get install libgtk-3-dev libtiff5-dev libgif-dev libjpeg-dev libpng-dev libxpm-dev libncurses-dev libgccjit-11-dev libgnutls28-dev texinfo

    git clone https://git.savannah.gnu.org/git/emacs.git
    cd emacs
    ./autogen.sh
    ./configure  --with-native-compilation --with-cairo --prefix=$HOME/usr
    make -j 4
    # testing:
    ./src/emacs -Q
    make install
To update:

    git pull
    make clean
    ./autogen.sh
    ./configure  --with-native-compilation --with-cairo --prefix=/home/malsburg/usr
    make -j 4
    # testing:
    ./src/emacs -Q
    make install