gabrielgio.me @ c46f9798ffd33434de8bba46d9f597ed5a70caf5

 1---
 2title: "Compiling emacs from source code on Fedora"
 3date: 2019-11-16
 4lastmod: 2020-08-25
 5tags: ['emacs', 'emacs27','linux', 'fedora']
 6---
 7
 8Compiling emacs from source and installing on fedora.
 9
10# Installing Packages
11
12Install the following packages:
13
14```shell
15sudo dnf install git autoconf make gcc texinfo \
16    gnutls-devel giflib-devel ncurses-devel \
17    libjpeg-turbo-devel giflib-devel gtk3-devel \
18    libXpm-devel libtiff-devel libxml2-devel -y
19```
20
21# Cloning Repository
22
23Clone repository
24[savannah.gnu.org](http://savannah.gnu.org/projects/emacs/):
25
26    git clone -b master git://git.sv.gnu.org/emacs.git
27
28# Compiling
29
30Navigate to emacs folder (`cd emacs`) and run the following steps
31
32```shell
33./autogen.sh
34./configure
35make -j$(nproc)
36sudo make install
37```
38
39After verify version with `emacs --version`, it should be equal or
40higher than `28.0.50`.