ubuntu安装gitbook
一. 首先安装nodejs
1. 在命令行执行:
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
2. 执行完之后查看是否成功
二. 安装gitbook
1. npm install -g gitbook-cli
2 gitbook -V #查看是否安装成功
三 安装gitbook到处pdf工具
1. apt-get install calibre
大功告成!!!!!