Brise

emacs 관련 책 빌드 스크립트 본문

Linux

emacs 관련 책 빌드 스크립트

naudhizb 2017. 5. 11. 10:59
반응형

KDLP에 좋아 보이는 emacs강좌가 있어 보고자 책을 빌드하는 스크립트를 정리해 보았습니다. 


책 만드신 분 글 : https://kldp.org/node/129646

책 git : https://github.com/tsgates/emacsbook

** 책 인터넷 사이트로 보기 : http://tsgates.github.io/emacsbook/chap1.html

>runhaskell 설치 관련 부분 참조 사이트

https://www.haskell.org/downloads/linux

https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md#ubuntu


최초 이맥스를 설치하는 것부터...


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
sudo apt-get update
sudo apt-get install emacs git-core
git clone https://github.com/tsgates/emacsbook
cd emacsbook
sudo apt-get install ruby pandoc texlive-xetex
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:hvr/ghc
sudo apt-get update
sudo apt-get install cabal-install-1.22 ghc-7.10.3 
cat >> ~/.bashrc <<EOF
export PATH="\$HOME/.cabal/bin:/opt/cabal/1.22/bin:/opt/ghc/7.10.3/bin:\$PATH"
EOF
export PATH=~/.cabal/bin:/opt/cabal/1.22/bin:/opt/ghc/7.10.3/bin:$PATH
wget -qO- https://get.haskellstack.org/ | sh
./make-pdf
cs


 // 주의 : ARM에서는 빌드되지 않습니다. 

반응형
Comments