Giter Club home page Giter Club logo

spacemacs-instructions-ubuntu's Introduction

Instructions for Installing Emacs with spacemacs clean on Ubuntu(16.04) Step by Step

Step 1. Installing emacs

Some of spacemacs dependencies (like helm-projectile) now require an emacs version >25.x

This could be a problem especially since Ubuntu 16.04 comes with version 24.4.

  • Easiest way to install new version of emacs i found to be downloading the release you'd like from any GNU Mirror(preferrably >25.3 ) found here:

    https://www.gnu.org/software/emacs/download.html#gnu-linux

    Just click the nearby GNU mirror link and download the tar file with the version you'd like. In my case emacs-25.3.tar.gz

  • Then open a terminal (ctrl + alt + t) and run:

    tar xvf emacs-25.3.tar.gz /your/path/emacs-25.3
    cd /your/path/emacs-25.3
    chmod +x configure
    ./configure

    Now, after running the configure shell script successfully without errors, a makefile will be generated.

  • IN CASE of errors running ./configure

    There's a chance that errors will pop out saying that packages like libXpm, libgif, libjpeg, libtiff cannot be found. In that case run in your terminal:

    sudo apt-get install libxpm-dev
    sudo apt-get install libjpeg-dev
    sudo apt-get install libtiff5-dev
    sudo apt-get install libgif7-dev
    sudo apt install libpng16-dev
    sudo apt install libxaw7-dev

    for the packages that you are missing.
    In short, Packages with the "-dev" suffix are headers needed for other software to use these libraries.

    Also make sure you have GTKTerm installed.

    sudo apt-get install gtkterm
  • After you have successfully ran ./configure run:

    make
    make install

    Now you should have installed emacs properly.

Step 2. Installing spacemacs.

Steps for Installing spacemacs are written more concisely here: https://github.com/syl20bnr/spacemacs.

  • Make a backup of your existing emacs configuration (if you have any):
    cd ~
    mv .emacs.d .emacs.d.bak
    mv .emacs .emacs.bak
  • Clone the repository:
    git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d

Now spacemacs is ready to be used although you most likely will need Source Code Pro Pro fonts.

Step 3. Installing Space Code Pro.

Easiest way to install Space Code Pro system wide is through npm, if you don't have it already you can get it Here.

  • After installing npm run in your terminal the following:
     npm install git://github.com/adobe-fonts/source-code-pro.git#release --global

Now hopefully you should be ready to use spacemacs to it's full potential.

Feel free to post any issues regarding these instructions.

spacemacs-instructions-ubuntu's People

Contributors

npafitis avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.