Ubuntu 14.04 install emacs 24.5

  • 1.前期準備工做
  • 2.安裝基礎構件工具
  • 3.下載emacs編譯須要的依賴庫
  • 4.下載emacs24.5編譯安裝
  • 5.下載並安裝個人emacs配置文件
  • 6.配置tmux和zsh

1. 前期準備工做

在阿里雲建立虛擬主機
操做系統Ubuntu 14.04 STL
修改更新源,更新系統,安裝必要軟件linux

$ cd /etc/apt
$ wget -c http://mirrors.163.com/.help/sources.list.trusty
$ mv sources.list sources.list.bak
$ mv sources.list.trusty sources.list
$ apt-get update
$ apt-get upgrade
$ apt-get install git zsh tmux curl

2. 安裝基礎構件工具

$ sudo apt-get install build-essential

3.下載emacs編譯須要的依賴庫

sudo apt-get build-dep emacs24

4.下載emacs24.5編譯安裝

wget -c http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.gz
tar zxf emacs-24.5.tar.gz
./configure  --with-x-toolkit=no
make
make install

5.下載並安裝個人emacs配置文件

git clone https://github.com/robin-liu-1983/emacs-robin.d.git
cd emacs-robin.d
cp -rf emacs.d ~/.emacs.d

6. 配置tmux和zsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
cp tmux.conf ~/.tmux.conf
cp zshrc-linux ~/.zshrc

本文原創,轉載請注 獅子座流星git

相關文章
相關標籤/搜索