Get GNU/Linux! A simple, clear website about GNU/Linux.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Get GNU/Linux!

This is the web application for the site. Get GNU/Linux! is a simple, clear website about GNU/Linux. What is GNU/Linux? Why not Windows? Tips to make the switch. With this website we hope to reach people who never heard about free software and barely remotely heard the word "Linux".


This section explains the basic steps needed to setup the website on your web server.

Setup your build environment

The following tools need to be installed on your build environment:

  • A text editor
  • Git
  • GNU gettext
  • GNU make
  • Nodejs
  • Yarn

On a Debian or Debian-based system, you can easily install most dependencies with:

sudo apt-get install git gettext make nodejs

The Nodejs version that comes with Debian is probably too old. If this is the case, follow the instructions on to obtain and install the latest stable version.

Follow the instructions on to install Yarn on your system.

Clone the getgnulinux source code repository:

git clone

This clones the repository into a new directory called "getgnulinux". The commands that follow must be executed from this directory.

Create a settings file:

make docroot/settings.php

Open the newly created docroot/settings.php in a text editor and change the settings where needed.

The locale/getgnulinux/ directory contains the translations. These need to be compiled to enable the translations on the website. Compile them with:


When a translation file is updated, you'll need to recompile it to see the changes on the website. Just run the make command again.

Install the required Nodejs packages with:

yarn install

Activate the GGL development work space:

source scripts/activate

You should now see "(ggl)" at the start of your prompt. This indicates that you are in an active GGL development workspace, allowing you to run bower and gulp commands. You can execute deactivate at any time to deactivate the GGL development workspace.

Install additional required packages with:

bower install

Finally, build the project with:

gulp build

You can also run gulp --tasks to see a list of available gulp tasks.

The "docroot" directory is now prepared for a production environment. You can synchronize the contents of this directory to the document root on your web server, so that the site can be served.

Setup the web server

Requirements for the web server are as follows:

  • Apache HTTP server
  • PHP
  • PEAR
  • GNU gettext

After creating a production build as described above, the directory "docroot" is the document root for the website. Make sure Apache is configured to serve from this directory. This directory also contains a hidden file .htaccess which is required for the website to function properly. Either make sure that .htaccess files are processed for this website, or copy the rules from this .htaccess file to the Apache configuration file for this site. Also make sure that Apache module mod_rewrite is enabled:

$ a2enmod rewrite

Other languages will not work until the required locale definition files are built on the server. Usually, the locale definition files are already built on the server, but if you need to build them you can execute the helper script scripts/ as root.


If you wish to contribute to this website, please fork it on GitHub, push your change to a named branch, then send me a pull request.

You can also help us reach an audience in your language. With Transifex, you can help translate the website into your own language. Please see our translation guidelines for more information.

Also see the Participate page on our blog for more ways you can help.


The source code is licensed under the GNU Affero General Public License Version 3, which you can find in the COPYING file.

The content of the website and its graphical assets are, except where otherwise noted, licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.