Get GNU/Linux! A simple, clear website about GNU/Linux.
PHP HTML CSS JavaScript Makefile ApacheConf Shell
Latest commit d4d5ad4 Nov 17, 2016 @figure002 The UTF-8 suffix can be set for any locale that supports it
This also fixes setlocale for sv_SE, as UTF-8 is not the default
encoding for that locale.
Failed to load latest commit information.
archive The article about viruses in linux was added to the archive. Sep 7, 2011
images Remove "Insecurity means business" section (fixes #10) May 2, 2016
js Display a nice alert box when the browser is outdated Feb 8, 2014
lib The UTF-8 suffix can be set for any locale that supports it Nov 17, 2016
links Got rid of some obsolete link buttons. Mar 30, 2012
locale Many translations were updated and credits updated Nov 15, 2016
scripts Add four new translations Nov 15, 2016
style Use underline for links Feb 15, 2014
templates Include PEAR's HTTP2 package and code cleanup for language negotiation Oct 19, 2015
.htaccess Send the X-UA-Compatible header Feb 1, 2014
LICENSE-HTTP2 Include PEAR's HTTP2 package and code cleanup for language negotiation Oct 19, 2015
Makefile Add four new translations Nov 15, 2016 Use HTTPS for the blog May 5, 2016
robots.txt Allow robots to crawl /style/ Feb 16, 2013 Use HTTPS for the blog May 5, 2016

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".

The website is written in PHP and JavaScript, and uses GNU gettext for internationalization.


This section explains the basic steps needed to setup the website on your web server. Before you continue, there are a few things that you need:

  • Shell or FTP access to your Apache web server with PHP, PEAR, and gettext installed
  • Git
  • GNU gettext
  • GNU Make
  • A text editor
  • And your web browser of choice

On a Debian or Debian-based system, you can easily install PEAR, Git, gettext, and Make with:

$ sudo apt-get install php-pear git gettext make

First step is to download getgnulinux' source code from GitHub:

$ git clone

This clones the repository into a new directory called "getgnulinux". This is the root directory 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

The site should now be running on http://localhost/. It will tell you that you need to create a file settings.php in the root directory. Run the following command from the root directory to create it:

$ make settings.php

Now open the newly created settings.php in a text editor and change the settings where needed.

Other languages will not work until both the required locale definition files and the translations 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.

The locale/getgnulinux/ directory contains the PO files (these contain the translations). You need to compile these PO files to enable the translations on the website:

$ make

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


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 3.0 Unported License.