diff options
author | gabriel <gabriel.giovanini@pm.me> | 2019-11-16 19:26:47 +0100 |
---|---|---|
committer | gabriel <gabriel.giovanini@pm.me> | 2019-11-16 19:26:47 +0100 |
commit | ff394ae92c8651c3e6ab46e6bdb49b4dc2e363ff (patch) | |
tree | 31103d2cb8f3d3ef7888de7c1136aa8178471f0b /_posts/2019-11-16-compiling-emacs.md | |
parent | 09eee623d99405f05426727eb20310ecb39b2391 (diff) | |
download | gabrielgio.me-ff394ae92c8651c3e6ab46e6bdb49b4dc2e363ff.tar.gz gabrielgio.me-ff394ae92c8651c3e6ab46e6bdb49b4dc2e363ff.tar.bz2 gabrielgio.me-ff394ae92c8651c3e6ab46e6bdb49b4dc2e363ff.zip |
Adds post about emacs
Diffstat (limited to '_posts/2019-11-16-compiling-emacs.md')
-rw-r--r-- | _posts/2019-11-16-compiling-emacs.md | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/_posts/2019-11-16-compiling-emacs.md b/_posts/2019-11-16-compiling-emacs.md new file mode 100644 index 0000000..93f80b8 --- /dev/null +++ b/_posts/2019-11-16-compiling-emacs.md @@ -0,0 +1,45 @@ +--- +layout: post +title: "Compiling emacs from source code on fedora" +date: 2019-11-16 +tags: ['emacs', 'emacs27', 'linux', 'fedora'] +--- + +Lately I have been using emacs quite heavily, I started using org mode after a friend insistently +telling me to try, got hooked and now I'm addicted on spacemacs+evil mode, very useful, I recommend it! +I'm compiling emacs because emacs 27, which it is not available on fedora repos yet, has some serious start up +performance improvement which I more then welcome when using spacemacs. + +But enough talking lets down to the business. + +First install the following packages: + +{% highlight bash %} +sudo dnf install git autoconf make gcc texinfo gnutls-devel giflib-devel ncurses-devel libjpeg-turbo-devel giflib-devel gtk3-devel libXpm-devel +{% endhighlight %} + +Then we need to clone de source code from [savannah.gnu.org](http://savannah.gnu.org/projects/emacs/) +{% highlight bash %} + git clone -b master git://git.sv.gnu.org/emacs.git +{% endhighlight %} + +Navigate to emacs folder that we've just cloned and execute the following steps + +{% highlight bash %} +./autogen.sh +./configure +make -j$(nproc) +sudo make install +{% endhighlight %} + +After that you will have emacs 27 or further running on your machine. To verify the version just run `emacs --version`. + +### Bonus content +For maximum awesomeness I would suggest using [spacemacs](https://www.spacemacs.org/), +tt has a lot of features out of the box. To install: + +{% highlight bash %} +git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d +{% endhighlight %} + + |