Guilherme Pedrosa
Steps needed to install emacs locally, mantaining pre-existing installation intact. In the end you will two different versions of emacs running in your system.
sudo apt-get install autoconf automake libtool texinfo build-essential xorg-dev libgtk-3-dev libjpeg-dev libncurses5-dev libdbus-1-dev libgif-dev libtiff-dev libm17n-dev libpng-dev librsvg2-dev libotf-dev libgnutls28-dev libxml2-dev libxpm-dev
- Download emacs from a nearby mirror
- Extract downloaded file. In this case it is emacs-26.3.tar.xz, and go to the extracted folder:
cd ~/Downloads
tar -xf emacs-26.3.tar.xz
cd emacs-26.3.tar.xz
- Run configure setting the prefix to the local folder in home directory:
./configure --with-mailutils --prefix="${HOME}/local"
- Build the components and istall it:
make
make install
To run it, issue:
/home/local/bin/emacs
The local installation, if any, should still work normally.
Hey, be the first who comment this article.