Ubuntu Linux kernel 5.9 installation guide

This installation guide describes how to install Linux Kernel 5.9.0 on Ubuntu Linux. This works with the latest version of Ubuntu Linux and most Ubuntu-based distributions including Kubuntu and Mint. The included kernel files have been compiled using the generic Ubuntu configuration. A low latency version is also available in the directory of the linked files.

This post is an update of “Ubuntu Linux kernel 5.8 installation guide

Which version do you need? The same as the current installed OS
In the terminal run: uname -a

Quick selection guide:

  • AMD64 Most current computers
  • ARM 64: ARMv8 CPUs
  • ARM HF: ARMv7 CPUs

The files can be found at  kernel.ubuntu.com/~kernel-ppa/mainline/v5.9/

    1. Download the kernel headers package:
    2. And the appropriate headers package for your system
    3. and the kernel image
    4. And the kernel modules

Install the files in the same order as downloaded above

In the terminal run: sudo update-grub

Reboot and select the kernel from the bootloader menu

 

How to install Python 3.9 on Raspberry Pi

This short guide explains how to install Python version 3.9.0 on a Raspberry Pi running Raspbian.

First install the dependencies needed to build

sudo apt-get update
sudo apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev

Compile (takes a while!)
wget https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tar.xz
tar xf Python-3.9.0.tar.xz
cd Python-3.9.0
./configure --prefix=/usr/local/opt/python-3.9.0
make -j 4

Install
sudo make altinstall

And remove the files

cd ..
sudo rm -r Python-3.9.0
rm Python-3.9.0.tar.xz
. ~/.bashrc

Make Python 3.9 the default version, make aliases
sudo update-alternatives --config python

And verify:
python -V

How to install RISC-V support in the Arduino IDE

In this short guide I will explain how to use the Arduino IDE version 1.8+ with SiFive RISC-V based boards.

Start the Arduino software and open the file menu, preferences.
Click the button right of the Additional Board Manager URLs field.
Add the following address to a new line in the (empty) list:

https://raw.githubusercontent.com/westerndigitalcorporation/CincoWinPkg/master/package_sifive_index.json

Save and close the list

Go to the menu tools –> board –> board management
Select as type: contributed

Now you should have the possibility to install support for RISC-V boards

How to install ESP8266 support in the Arduino IDE

In this short guide I will explain how to use the Arduino IDE version 1.8+ with ESP8266 based boards.

Start the Arduino software and open the file menu, preferences.
Click the button right of the Additional Board Manager URLs field.
Add the following address to a new line in the (empty) list:

https://arduino.esp8266.com/stable/package_esp8266com_index.json

Save and close the list

Go to the menu tools –> board –> board management
Select as type: contributed

Now you should have the possibility to install support for ESP8266 boards

How to install ESP32 support in the Arduino IDE

In this short guide I will explain how to use the Arduino IDE version 1.8+ with ESP32.

Start the Arduino software and open the file menu, preferences.
Click the button right of the Additional Board Manager URLs field.
Add the following address to a new line in the (empty) list:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Save and close the list

Go to the menu tools –> board –> board management
Select as type: contributed

Now you should have the possibility to install support for ESP32 boards