ubuntu16.04 Installing Jekyll 3.3.1

Source: Internet
Author: User
Tags nodesource

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.