The Ekyll for this installation is the latest version of 3.3.1.
First, preparatory work, because the bit Jekyll need a lot of software support, so the preparation work to do enough.
- Ruby (including development headers, v1.9.3 or above for Jekyll 2 and V2 or above for Jekyll 3)
- RubyGems
- Linux, Unix, or MacOS
- NodeJS, or another JavaScript runtime (Jekyll 2 and earlier, for Coffeescript support).
- Python 2.7 (For Jekyll 2 and earlier)
- GCC and make on case your system doesn ' t has them installed, which you can check by running and
gcc -v
in make -v
your Syst Em ' s command line interface)
1. First install the GCC compilation package.
Apt Install build-essential
2, install Ruby, because Ruby for various reasons, the original complete installation package is divided into multiple small packages, Ruby-full guarantee the full feature installation.
Apt Install ruby-full
3, install RubyGems.
Apt Install RubyGems
which gem//view gem's installation location, normal display "/usr/bin/gem"
Gem Update--system//upgrade RubyGems to the latest version
4, install Nodejs, because Nodejs upgrade too fast, resulting in version splitting, the use of Nodesource installation script. Note: Install the 6.x series here.curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
5, Installation python2.7
Apt Install python
Second, start the installation of Jekyll, ready software Installation, installation Jekky is just a command.
Gem Install Jekyll
Jekyll--version//View the version of Jekyll.
ubuntu16.04 Installing Jekyll 3.3.1