gabrielgio.me @ fe19b56e86fad486a0f1f1107fc757aae3f8338e

 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
11Install the following packages:
12#+BEGIN_SRC
13sudo dnf install git autoconf make gcc texinfo \
14    gnutls-devel giflib-devel ncurses-devel \
15    libjpeg-turbo-devel giflib-devel gtk3-devel \
16    libXpm-devel libtiff-devel libxml2-devel -y
17#+END_SRC
18
19* Cloning Repository
20Clone repository [[http://savannah.gnu.org/projects/emacs/][savannah.gnu.org]]:
21#+BEGIN_SRC
22git clone -b master git://git.sv.gnu.org/emacs.git
23#+END_SRC
24
25* Compiling
26Navigate to emacs folder (~cd emacs~) and execute the following steps
27
28#+BEGIN_SRC sh
29./autogen.sh
30./configure
31make -j$(nproc)
32sudo make install
33#+END_SRC
34
35After verify version with ~emacs --version~, it should be equal or higher than
36=28.0.50=.