Adding info on make emacs
This commit is contained in:
parent
0b07eb95c7
commit
9ce8534b32
1 changed files with 35 additions and 2 deletions
|
@ -3,7 +3,15 @@
|
|||
|
||||
* Compiling emacs in GNU linux systems
|
||||
|
||||
Install ~build-essential~
|
||||
|
||||
Emacs is available in all GNU-linux distributions. If you want to install emacs
|
||||
directly from any free-software distribution, you may check [[https://www.gnu.org/software/emacs/download.html][this information]].
|
||||
However, you may be interested in compiling emacs for your operational system.
|
||||
|
||||
To compile emacs it's important to install some development libraries before
|
||||
downloading the emacs tarball.
|
||||
|
||||
** Install ~build-essential~
|
||||
|
||||
#+begin_example sh
|
||||
sudo apt install build-essential
|
||||
|
@ -13,7 +21,27 @@ Install ~build-essential~
|
|||
sudo apt update && sudo apt build-dep emacs
|
||||
#+end_example
|
||||
|
||||
Download emacs (tarball) and open the directory
|
||||
** Download emacs (tarball), extract and open the source directory
|
||||
|
||||
Let's say you want to download emacs 28.2. You may use ~wget~ to download the tarball:
|
||||
|
||||
#+begin_example sh
|
||||
wget http://ftp.gnu.org/gnu/emacs/emacs-28.2.tar.gz
|
||||
#+end_example
|
||||
|
||||
Then, extract the files and open a terminal within the main directory of the package.
|
||||
|
||||
#+begin_example sh
|
||||
tar xvfz emacs-28.2.tar.gz
|
||||
#+end_example
|
||||
|
||||
Change the directory to the extracted files:
|
||||
|
||||
#+begin_example sh
|
||||
cd emacs-28.2
|
||||
#+end_example
|
||||
|
||||
** Execute the following commands in a terminal to begin with the process
|
||||
|
||||
#+begin_example sh
|
||||
./autogen.sh
|
||||
|
@ -26,3 +54,8 @@ Download emacs (tarball) and open the directory
|
|||
#+begin_example sh
|
||||
sudo make install
|
||||
#+end_example
|
||||
|
||||
|
||||
** References
|
||||
|
||||
* [[https://www.emacswiki.org/emacs/BuildingEmacs][Emacs wiki]]
|
||||
|
|
Loading…
Reference in a new issue