Update the APT packages lists
sudo apt-get update
Install the Oracle Java SDK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
workdir=`pwd` | |
mkdir /tmp/apthistory | |
cd /tmp/apthistory | |
cp /var/log/apt/history.log* . | |
gunzip history.log.*.gz | |
nr=`ls | wc -l` | |
list="" |
As of January 2020, Raspbian Stretch does not yet include any Python release newer than Python 3.5.x. This means we will have to build it ourselves, and here is how to do it.
- Install the required build-tools (some might already be installed on your system).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import re | |
import sys | |
fileAPTHISTORY = sys.argv[1] | |
INSTALL_STRING = ('Install: ', 'Upgrade: ') | |
REMOVE_STRING = ('Remove: ', 'Purge: ') | |
pattern = re.compile('([a-z0-9-.+]+?):[a-z0-9]+? \(.+?\),?') |