How to install gitbook?

How to install gitbook on my own Linux box?

First, install node.js following https://www.systutorials.com/qa/1268/how-to-install-node-js-on-fedora or How to install node.js on Ubuntu/Linux Mint depending on your distro.

Second, install gitbook by npm to /opt/:

# cd /opt/
# npm install gitbook

Then, the gitbook can be invoked by

/opt/node_modules/gitbook/bin/gitbook.js

You may need to install the latest version of Calibre to make some functions of gitbook work following https://www.systutorials.com/qa/1284/how-to-install-latest-version-of-calibre .

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *