DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,864 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Vee Satayamas
Vee Satayamas

Posted on

Install Emacs 27.2 on openSUSE LEAP 15.3 from a source tarball

Install pre-requisited tools

sudo zypper install make gcc automake autoconf libtool aclocal wget
sudo zypper si -d emacs
Enter fullscreen mode Exit fullscreen mode

Download Emacs source tarball

wget https://ftp.gnu.org/pub/gnu/emacs/emacs-27.2.tar.gz
Enter fullscreen mode Exit fullscreen mode

Extract and change directory

tar xzvf emacs-27.2.tar.gz
cd emacs-27.2
Enter fullscreen mode Exit fullscreen mode

Generate makefiles

./configure --prefix=/opt > log
Enter fullscreen mode Exit fullscreen mode

Make

make -j `nproc`
Enter fullscreen mode Exit fullscreen mode

Install

sudo make install
Enter fullscreen mode Exit fullscreen mode

Add path

Add the line below to ~/.bashrc by nano ~/.bashrc

export PATH="/opt/bin:$PATH"
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Take a look at this:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›