Set up git
You can install git by following the instructions here.
Set up Ruby
Follow the instructions on this page based on your distribution.
To test the installation, run this in the terminal:
If installed correctly, it will read the version number installed.
Installing Jekyll and Dependencies
Follow the instructions for Ubuntu or Other distributions.