aboutsummaryrefslogtreecommitdiff
path: root/content/posts/2019-11-16Compiling_emacs_from_source_code_on_fedora.html
blob: f47040fac0e8f2ee68dc286124ea78ce81384abe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<section>
<p>
 Compiling emacs from source and installing on fedora.
</p>
<h3>Installing packages</h3>
<p>
  Install the following packages:
<pre><code>sudo dnf install git autoconf make gcc texinfo \
    gnutls-devel giflib-devel ncurses-devel \
    libjpeg-turbo-devel giflib-devel gtk3-devel \
    libXpm-devel libtiff-devel libxml2-devel -y</code></pre>
</p>
<h3>Cloning Repository</h3>
<p>
  Clone repository
  <a href="http://savannah.gnu.org/projects/emacs/">savannah.gnu.org</a>
<pre><code>git clone -b master git://git.sv.gnu.org/emacs.git</code></pre>
</p>
<h3>Compiling</h3>
<p>
  Navigate to the emacs folder <code>cd emacs</code> and execute the following
  steps:
<pre><code>./autogen.sh
./configure
make -j$(nproc)
sudo make install
</code></pre>
  After verify version with <code>./emacs --version</code>, it
  should be equal or higher than <strong>28.0.50</strong>.
</p>
</section>