Revision of Update the Linux-Libre kernel from Sat, 12/17/2022 - 19:39

The revisions let you track differences between multiple versions of a post.

This tutorial points to easy and fast ways to upgrade your Linux-Libre kernel to a newer version, that may offer libre support to more pieces of hardware than the default kernel shipped with Trisquel, and possibly increase performance.

Using Trisquel-provided LTS enablement stacks

This upgrade method is probably the best one, because the packages distributed are adapted to Trisquel (based off Ubuntu) by its developers, who also ensure the packages are GFSD-compliant.

Citing from Ubuntu wiki:

In an effort to support a wider variety of hardware on an existing LTS release [all Trisquel releases are LTS now], the 12.04.2 and newer point releases will ship with an updated kernel and X stack by default. These newer hardware enablement stacks will be comprised of the newer kernel and X stacks from 14.04 (Trusty).

As these stacks are "comprised of the newer kernel and X stacks from" STS Ubuntu releases, that appear six months apart from each other, it may happen they are not up-to-date enough for some Trisquel users; if so, we suggest them to try the FaiF jxself's Linux-libre repositories (see below, "Using jxself's repository"), which will not necessarily support Ubuntu/Trisquel default configuration (e.g., AppArmor) or perfectly match their Xorg stack, but may run normally nevertheless.

Stacks for Trisquel 9 'Etiona' (18.04 'Bionic Beaver')

Linux-libre version: 5.3.0

$ sudo apt-get install --install-recommends xserver-xorg-hwe-18.04 linux-generic-hwe-18.04

Stacks for Trisquel 8 'Flidas' (16.04 'Xenial Xerus')

Linux-libre version: 4.13

$ sudo apt install --install-recommends linux-generic-hwe-8.0 xserver-xorg-hwe-16.04

Stacks for Trisquel 7 'Belenos' (14.04 'Trusty')

From 14.10 'Utopic'

Linux-libre version: 3.16

$ sudo apt-get install --install-recommends {linux-generic,xserver-xorg,libgl1-mesa-glx,libegl1-mesa-drivers}-lts-utopic

Little bash function

Put this in ~/.bashrc :

lts_enablement_stack () 
{ 
    if [ -n "$1" ]; then
        name="$1";
    else
        echo "Sorry, no parameters given.";
        echo "Please do: \"lts_enablement_stack \$codename\".";
        return;
    fi;
    sudo apt-get install --install-recommends {linux-generic,xserver-xorg,libgl1-mesa-glx,libegl1-mesa-drivers}-lts-$name;
    return
}
and, after reloading ~/.bashrc ("source ~/.bashrc" or logout/login, or open new console window), run, e.g., "lts_enablement_stack utopic" to install the Utopic-originated HWE stack.

Stacks for Trisquel 6 'Toutatis' (12.04 'Precise')

Right now there is one supported LTS enablement stack, the one from Ubuntu 14.04 LTS Trusty or Trisquel 7.0 Belenos. The kernel and X stack that comes with Trisquel 6.0 (from 12.04 LTS) is also supported. If you installed an LTS enablement stack from 12.10, 13.04, or 13.10, you should upgrade immediately to the Trusty stack as those stacks are now unsupported.

From 14.04 'Trusty'

Linux-libre version: 3.13

$ sudo apt-get install --install-recommends {linux-generic,xserver-xorg,libgl1-mesa-glx}-lts-trusty

If you installed an older LTS enablement stack, that command might fail so take a look at this bug for a workaround.

Verifying the support status

Run the following command. Note: HWE end of life is 2017.

$ hwe-support-status --verbose
In Toutatis, with a Trusty enabled stack, the output is:
Your Hardware Enablement Stack (HWE) is supported until April 2017.

Using jxself's repository

A big thanks to jxself for his work on maintaining this repositories (More information here: https://www.fsfla.org/ikiwiki/selibre/linux-libre/freesh.en.html ).

Follow the information on http://www.fsfla.org/ikiwiki/selibre/linux-libre/freesh.en.html

Wait for it to end and just reboot your computer !

You are now running Trisquel Gnu/Linux with an awesome new Linux-Libre Kernel freshly installed.

If you have any troubles please report them:

Other

Revisions

10/23/2012 - 19:12
aliasbody
10/23/2012 - 21:59
jbar
03/01/2013 - 09:39
oshanz
03/15/2013 - 15:00
lembas
08/13/2013 - 18:11
lloydsmart
08/19/2013 - 17:37
Magic Banana
08/02/2014 - 00:57
GustavoCM
08/06/2014 - 17:22
Legimet
03/28/2015 - 12:41
a_slacker_here
07/18/2015 - 18:13
Julius22
10/15/2015 - 12:25
pizzaiolo
08/01/2016 - 00:54
jxself
05/18/2018 - 13:13
Gnu
12/10/2018 - 17:07
Hdesmi
02/18/2021 - 11:43
Chris
04/19/2023 - 22:14
Ark74
09/22/2024 - 12:56
knife