Linux, as distributed by Linus Torvalds et al, contains non-Free Software, i.e., software that does not respect your essential freedoms, and it induces you to install additional non-Free Software that it doesn't contain.

GNU Linux-libre is a project to maintain and publish 100% Free versions of Linux, removing the offending portions.


libeRTy is a sub-project that contains .debs of Linux-libre compiled with the PREEMPT_RT patch for realtime operation on 32- and 64-bit x86 CPUs. Please write to the mailing list or visit #gnu-linux-libre on irc.libera.​chat if you need support for additional CPU architectures.

If you need a kernel for general purpose use, and not realtime, see the Freesh APT repository.

How To Use

To use it edit the file /etc/apt/sources.list on your system and add the line:

deb mirror:// liberty main

Your package manager will select an appropriate mirror. You can also access the mirrors.txt file and instead put the the address of a specific mirror in place of mirror:// but please use the automatic method shown above if possible.

Either way, once your sources.list file is updated you should also fetch and install the GPG key with which the repository is signed:

wget -O - | sudo apt-key add -

You can also check that that it's the right key:

apt-key finger

Make sure that you see the fingerprint:

F611 A908 FFA1 65C6 9958 4ED4 9D0D B31B 545A 3198

Now you will now be able to update your package manager and install Linux-libre:

sudo apt update && sudo apt install linux-libre-rt

You may also need to install the package linux-libre-rt-headers, depending on whether you need the kernel headers or not.


You may download the tarball containing the complete and corresponding source code, kernel configuration files, and the instructions to compile and install the kernel from

Be Free!

Page text is copyright © Jason Self. You can redistribute and/or modify this text under terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Please copy and share.

As a special exception, you may propagate and convey this work without including a copy of the GPL as long as you keep intact all notices stating that this license and special exception apply, and include a URI or hyperlink to a public copy of the GPL. If you modify this work, you may extend this exception to your version of the work, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.