Skip to content

Instantly share code, notes, and snippets.

@shaybix
Created May 29, 2016 00:41
Show Gist options
  • Save shaybix/4dd95830909daa59207635951a533127 to your computer and use it in GitHub Desktop.
Save shaybix/4dd95830909daa59207635951a533127 to your computer and use it in GitHub Desktop.
Install Emacs and Spacemacs on Ubuntu
sudo apt-get install -y build-essential wget gcc g++ texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev
#Download Emacs 24.5+ source code
wget ftp://ftp.gnu.org/pub/gnu/emacs/emacs-24.5.tar.gz
tar -zxvf emacs-24.5.tar.gz
cd emacs-24.5
./configure
make
sudo make install
#Download spacemacs and install
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
@Blquinn
Copy link

Blquinn commented Jul 26, 2017

TY 👍

@y3shu
Copy link

y3shu commented Jul 31, 2017

Hi, i have an error: make[1]: *** [bootstrap-emacs] Error 1

@wertig0n
Copy link

wertig0n commented Aug 18, 2017

Actually, these days the standard apt-get packages are good enough (for 16.04 and beyond), unless you must have the latest and greatest.

What I do (YMMV, use at own risk, etc):

cd
sudo apt-get install emacs
mv .emacs .emacs.old
mv .emacs.d .emacs.d.old
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d

Then it is just a matter of booting emacs :)

@rightfold
Copy link

You should not download Emacs without TLS.

@jondeaton
Copy link

Segmentation fault (core dumped) haha during make install, but the installation still worked!

@piyush0101
Copy link

I usually just install emacs from the apt repository and then clone the spacemacs repo.

apt install emacs25

@johannes-riecken
Copy link

You should not download Emacs without TLS.

Why? Isn't the only point of TLS to prevent other people from seeing the network traffic contents?

@shaybix
Copy link
Author

shaybix commented Jan 13, 2020

You should not download Emacs without TLS.

Why? Isn't the only point of TLS to prevent other people from seeing the network traffic contents?

Exactly.

p.s. I don't use spacemacs anymore, and this is a gist i had completely forgotten about. It is probably outdated and for any new visitors to this gist, they should probably consult with official documentation.

@johnsmithaaa100
Copy link

Installed emacs & spacemacs too, but after startiing emacs, still emacs starts.
What did i did wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment