参考:https://blog.csdn.net/qq_20515461/article/details/102883492
刚安装好Ubuntu14后就开始装gitbook了,装了好多遍,终于好了,,,,
注意:建快照、快照、快照,,,,重要的事情说三遍!!!!!!
以下是我使用的所有命令:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
npm config set registry http://registry.npm.taobao.org/
sudo npm install -g gitbook-cli
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
gitbook -V
sudo apt install calibre
cd Desktop/
sudo gitbook pdf