Ubuntu安装Emacs(转载)

1. 前期准备工作

操作系统Ubuntu 14.04 STL
修改更新源,更新系统,安装必要软件

$ 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

转载于:https://www.cnblogs.com/lhdcg/p/9925170.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值