Categories
Computers

How to install Python 3.8 on Raspberry Pi

This short guide explains how to install Python version 3.8.0 on a Raspberry Pi running Raspbian.
This post is an update to How to install Python 3.7 on Raspberry Pi

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.7.0/Python-3.7.0.tar.xz
tar xf Python-3.8.0.tar.xz
cd Python-3.8.0
./configure --prefix=/usr/local/opt/python-3.8.0
make -j 4

Install
sudo make altinstall

And remove the files

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

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

And verify:
python -V

Categories
Computers

Ubuntu Linux kernel 5.1 installation guide

This installation guide describes how to install Linux Kernel 5.1.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.0 installation guide

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

  • In the terminal run: sudo update-grub
  • Reboot and select the kernel from the bootloader menu
Categories
Computers

Ubuntu Linux kernel 5.0 installation guide

This installation guide describes how to install Linux Kernel 5.0.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 4.20 installation guide

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

  • In the terminal run: sudo update-grub
  • Reboot and select the kernel from the bootloader menu
Categories
Computers

Bash 5.0 installation for Linux

This guide is for almost every Linux distribution.

Prerequisite is that you have the required build tools installed already.

If not, do the following step:

Debian and Ubuntu users way;

sudo apt-get install build-essential

The Fedora/Red Hat way:

sudo yum groupinstall "Development Tools" "Legacy Software Development"

First step is getting the source package

wget http://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz

Next step is compiling and installing it;

tar xf bash-5.0.tar.gz
cd bash-5.0
./configure
make
sudo make install
sh

Categories
Computers

Ubuntu Linux kernel 5.0 RC1 installation guide

This installation guide describes how to install Linux Kernel 5.0.0 release candidate 1 (RC1) 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 4.20 installation guide

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

  • In the terminal run: sudo update-grub
  • Reboot and select the kernel from the bootloader menu