歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 14.04 安裝 Emacs 24.5

Ubuntu 14.04 安裝 Emacs 24.5

日期:2017/2/28 13:54:08   编辑:Linux教程
  • 1.前期准備工作
  • 2.安裝基礎構件工具
  • 3.下載emacs編譯需要的依賴庫
  • 4.下載emacs24.5編譯安裝
  • 5.下載並安裝我的emacs配置文件
  • 6.配置tmux和zsh

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

為Emacs配置newLISP開發環境 http://www.linuxidc.com/Linux/2013-01/78463.htm

手把手教你學會 Emacs 主題配置 http://www.linuxidc.com/Linux/2012-10/72342.htm

Ubuntu下編譯安裝Emacs23 http://www.linuxidc.com/Linux/2009-08/21348.htm

手把手教你學會 Emacs 定制 http://www.linuxidc.com/Linux/2012-10/72341.htm

如何在GNU Emacs環境下編譯並運行C/C++程序? http://www.linuxidc.com/Linux/2012-08/68299.htm

Ubuntu安裝Emacs出現到依賴問題及解決方案 http://www.linuxidc.com/Linux/2014-08/104975.htm

Copyright © Linux教程網 All Rights Reserved