Installing GitHub

A copy of any software I have developed and referenced on my website are available on GitHub so that you may easily download and install for your own use. By way of a small introduction:

  • “Git” is a free open source system that allows developers to jointly work on code. It saves the code and critically, it also has version control so that changes and modifications are tracked, recorded, and can be reversed. It is however, a command line tool and requires hosting.
  • “GitHub” is a web-based server, and is essentially a hub that runs Git and can be accessed free by users and developers of open source software (There are also paid subscriptions services should you want to use it for commercial activity). An account is not necessary if you simply wish to download the code on this site or any other open source code published on GitHub.

Installing GitHub

Firstly, ensure your Pi is up to date otherwise the correct libraries may not be found. See Updating Raspbian. If you have not done this for a while then it could take a few minutes to complete. Once done and you are returned to the command line, type the following:

sudo apt-get install git-core

That is it, you are now able to copy software published on GitHub to your own Raspberry Pi.

Keeping up to date

It is likely that software stored on GitHub will change as features are added and bugs removed. The GitHub page shows when the master files were last updated and should you need to update your software to the latest version, you simply change to the directory on your Pi that contains your copy and type:

git pull

Git will then download the updated version so that your copy is identical to the latest version stored on GitHub.

Leave a Reply

Your e-mail address will not be published. Required fields are marked *