gabrielgio.me @ 735a7d73571f859d66a15611ced9e5bad97e94ce

 1---
 2title:  "Compiling emacs from source code on Fedora"
 3date:   2019-11-16
 4lastmod: 2020-07-17
 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 -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=.