Joseph Zikusooka ~ Zik

A Linux software engineer specializing in open source technologies | Very experienced in building and configuring UNIX/Linux systems and servers. Passionate about developing software applications and hardware for the smart home | Currently serving as the CEO of Jambula Labs and the project leader at JambulaTV, a smart home automation and entertainment platform - https://jambulatv.com | This blog focuses on the following areas: Linux How-Tos and Tutorials ::: IT Security News ::: Free and Libre Open Source Software ::: Smart Home Software ::: Digital Innovations in East Africa https://mastodon.social/@jzik | https://github.com/zikusooka

Year: 2023

Linux, Python, Security, and Open Source Software TIPS

  • Tech conference season is here & for the #FOSS community, Europe is the place to be with amazing events.I'm excited to announce that I will be speaking at #openSUSEConf 2025. To make the trip from Africa & attend in person, I need your support to cover travel costs. Please consider donating:https://www.gofundme.com/f/fund-ziks-journey-to-global-tech-conferencesEvery bit helps – Thank you so much!@opensuse @SUSE @ErikGustafson @ddemaio#OpenSource #OpenSUSE #GoFundMe #SupportOpenSource #Fundraising #Fundraiser #FediSupport #travelgrants
  • Hass-Core-Installer: Keeping Home Assistant Core AliveIt is finally happening – Home Assistant Core, along with other legacy installation methods and 32-bit system support, is officially being deprecated. The Home Assistant team announced this major shift in their recent blog post, signaling the end of an era for many longtime users who have relied on Core and Supervised installs for years. Starting with thhttps://joseph.zikusooka.com/?p=2689#Apps #OpenSource
  • If you develop projects involving Bluetooth or PipeWire on Linux, be sure to watch an excellent presentation recently given by @gkiagia at Embedded Recipes titled "PipeWire and Bluetooth: the road to LE Audio" @embeddedrecipes@pipewire @collaborahttps://www.youtube.com/live/U5L8XHkP-lI#embeddedrecipes #Bluetooth #audio #Pipewire #Embedded #Opensource
  • 💡 Use the following command line to generate a list of security advisories on Fedora and RedHat Linux based systems #ZikTIPs #TechTips #Fedora #Redhat #Security #Opensource@fedora @redhat sudo dnf advisory list
  • With recent discussions around dropping official support for some #HomeAssistant install methods (Core, Supervised, etc.) https://community.home-assistant.io/t/feedback-requested-deprecating-core-supervised-i386-armhf-armv7/880968/63I'm excited to share an updated version of Hass-Core-Installer – a flexible & customizable tool I wrote for power users who want full control when installing Home Assistant on several platforms, including ARM64! #smarthome @homeassistantDownload:https://github.com/zikusooka/hass-core-installerRead more about why I wrote this script & what's new:https://joseph.zikusooka.com/?p=2658
  • With recent discussions around dropping official support for some Home Assistant install methods (Core, Supervised, etc.):https://community.home-assistant.io/t/feedback-requested-deprecating-core-supervised-i386-armhf-armv7/880968/63I'm excited to share an updated version of Hass-Core-Installer – a flexible and customizable tool I wrote for power users who want full control when installing Home Assistant Core on several platforms, including ARM64.
  • If you’re like me and enjoy watching streams or listening to multiple audio sources, check out my newly updated @pipewire based script! It makes muting or unmuting sound from different sources really easy.Find it here:https://github.com/zikusooka/toggle-pw-volumesContext: https://joseph.zikusooka.com/?p=2637#ZikTIPs #PipeWire #Multimedia
  • Great panel discussion underway about Flatpak and the future of Linux desktops!Catch it live: https://www.youtube.com/watch?v=VDwwPMm9mgQ@LAS @gnome @linuxappsummit #las2025 #LinuxAppSummit #opensource
  • Cheat sheet: How to easily manage your packages using the Zypper command line tool on #OpenSUSE @opensuse #techtips #ZikTIPS https://en.opensuse.org/images/3/30/Zypper-cheat-sheet-2.pdf
  • Heads up for anyone planning to set up a Buildroot environment on the newly released Fedora 42 @fedora I have just submitted a patch for the m4 package to address compatibility with GCC 15. If you're working with Buildroot on this release, you may want to review the patch details here:https://lists.buildroot.org/pipermail/buildroot/2025-April/777274.html#Buildroot #Fedora42 #Fedora
  • This past weekend, I visited Arua, a vibrant, diverse city in northwest Uganda bordering DR Congo & S. SudanI had the privilege of discussing the exciting world of Free and Open Source Software (FOSS) with university & pre-college studentsIt was inspiring to share with them how FOSS is revolutionizing tech by offering cost savings, flexibility & collaboration opportunitiesI can't wait to see the impact these students will make by embracing the potential of open source.#FOSS #opensource
  • OpenStack Epoxy 2025.1 Release Expands VMware Migration, AI Performance #openstack #epoxy #cloud #opensourcehttps://www.itprotoday.com/openstack-cloud/openstack-epoxy-2025-1-release-expands-vmware-migration-ai-performance
  • Slides for this talk are also available at: https://program.foss-backstage.de/media/fossback25/submissions/PUAEE3/resources/joseph_zikusook_rwI4V2c.pdf
  • Excited to share the recording of my FOSS Backstage 2025 presentation: "Empowering African Communities using Open Source Software"! I discuss the challenges and strategies for increasing FLOSS adoption in underserved regions.Watch it here: https://youtu.be/VsCuQ4401oc#FOSSBack #FOSS #OpenSource #Africa #Tech
  • I am now using Fedora 42 Prelease as my primary desktop OS.Friends, I think the year of the Linux desktop did arrive! @fedora @fedora42 #Fedora42 #Fedora #Opensource
  • 🚀 I have uploaded a new image of Jambula OS Linux version 2025.3.0 ✨Mostly a maintenance release, but I've snuck in some features like:✅ Tailscale support for secure remote access 🌐 ✅ Audio calendar alerts via Radicale 📅 ✅ Nginx web/proxy server integration 🖥️ ✅ Geolocation tool for device location📍 For more information about Jambula OS Linux, including instructions on how to download & install it, please visit:https://github.com/zikusooka/Jambula-OS#JambulaOS #smarthome #FOSS #OpenSource
  • Fedora 42 Beta just dropped! https://fedoramagazine.org/announcing-fedora-linux-42-beta/@fedora I'm going all in and installing it on my primary work desktop.Wish me luck – or maybe I won't need it since it’s an even numbered release! 😉 #Fedora #Fedora42
  • 💡Use iperf3 to measure the network throughput between two Linux nodes effortlessly as follows: @fedora @opensuse On server: iperf3 -sOn client: iperf3 -c #ZikTIPS #Linuxtips $Networking #LinuxTechTips #Opensource
  • Just shared a recap of my FOSS Backstage 2025 presentation on open source adoption in Africa. Read it on my blog at: https://joseph.zikusooka.com/?p=2617#FOSS #OpenSource #Africa
  • During my presentation at the recently concluded FOSS Backstage 2025, I highlighted how internet shutdowns are a significant barrier to the adoption of open source software in Africa. We urgently need innovative solutions to address this issue and foster a more conducive environment for open source growth. https://www.theguardian.com/technology/2025/mar/09/internet-shutdowns-record-high-africa-2024-access-weaponised#fossback #FOSS #Africa #opensource

How to install the latest Python 3 version on Linux using sources

Introduction

Python 3.11.0 was officially released on October 24 2022. However, most Linux distributions have not yet upgraded to the latest Python version i.e. Python 3.11.2 (released on February 8 2023). Please visit this page to see the most recent versions.

The jump from versions 3.10.X to 3.11.X brought with it significant changes and improvements to Python code. Among the improvements is that Python is now 10 – 60% faster than before. That’s a big and noticeable speed boost. So beyond the usual reasons for upgrades i.e. security etc, I really wanted this version on my Linux desktop as soon as the final release was made publicly available.

If you are like me and don’t like waiting for your favourite open-source program to be supported on your Linux distribution, here is how to install the latest Python 3 version on Linux using sources.

Before you begin, check the current version on your Linux system:

python  --version

Currently the version of Python on my Linux system is three (3) releases behind. So it is time for me to upgrade to the most recent version.

CAUTION: Due to the many dependencies on the currently installed Python common package, I highly recommend that you do not remove the existing version. Instead, we will install the latest version in an alternate location e.g. /usr/local

Prerequisites

Please ensure that your Linux system has the following packages installed:

On Ubuntu or Debian:

sudo apt-get install build-essential

sudo apt-get install autoconf automake gdb libffi-dev zlib1g-dev libssl-dev libncurses5-dev libgdbm-dev libnss3-dev libreadline-dev libsqlite3-dev

On Fedora or Rocky Linux:

sudo dnf groupinstall “Development Tools”

sudo dnf install openssl-devel libffi-devel bzip2-devel sqlite-devel

* You will also need wget which is generally included by default on most Linux distributions

Visit the Python downloads page for sources to get the direct link to latest Python source package. In this tutorial I will be using the XZ compressed source tarball i.e. Python-3.11.2.tar.xz

Download the latest Python package to a temporary directory:

wget  -c  -P /tmp  https://www.python.org/ftp/python/3.11.2/Python-3.11.2.tar.xz

Unpack the Python 3 tarball:

tar xvf /tmp/Python-3.11.2.tar.xz -C /usr/src

Compile and build Python:

cd  /usr/src/Python-3.11.2

./configure  --prefix=/usr/local  --enable-shared  --enable-optimizations  --with-system-expat  --with-system-ffi

IMPORTANT: Ensure the prefix i.e. ‘/usr/local’ you use is different from that used by your Linux distribution otherwise you will overwrite the default Python 3 installation!

Optional: You can make some of your modules a permanent part of the Python interpreter. To do so, simply modify the file: Modules/Setup.local before running make. To see my my local setup, see the appendix.

sudo  make

TIP: you can add “– j $(getconf _NPROCESSORS_ONLN)” to the make command in order to speed things up i.e. sudo make -j $(getconf _NPROCESSORS_ONLN)

sudo  make  altinstall

Add the following export command to your shell initialization file:

Using Bash shell:

echo  “export  LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib”  >>  ~/.bashrc

Then source the file for now:

source  ~/.bashrc

To verify if you now have the latest Python 3 (including pip installer) versions:

/usr/local/bin/python3.11 –version

/usr/local/bin/pip3.11 –version

Congratulations! You now have the latest Python 3 version on your Linux system.

NOTE: When your distribution eventually catches up, you can remove this installation by issuing the ‘make uninstall‘ command in the installation directory i.e. /usr/src/Python3.11

Appendix

Here’s my sample ./Modules/Setup.local file:

array -DPy_BUILD_CORE_MODULE arraymodule.c
_contextvars _contextvarsmodule.c
_struct -DPy_BUILD_CORE_MODULE _struct.c
_random _randommodule.c -DPy_BUILD_CORE_MODULE
_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c
_pickle -DPy_BUILD_CORE_MODULE _pickle.c
_datetime _datetimemodule.c
_zoneinfo _zoneinfo.c -DPy_BUILD_CORE_MODULE
_bisect _bisectmodule.c
_asyncio _asynciomodule.c
_json -I$(srcdir)/Include/internal -DPy_BUILD_CORE_BUILTIN _json.c
unicodedata unicodedata.c -DPy_BUILD_CORE_BUILTIN
fcntl fcntlmodule.c
spwd spwdmodule.c
grp grpmodule.c
select selectmodule.c
mmap mmapmodule.c
_csv _csv.c
_socket socketmodule.c
termios termios.c
resource resource.c
_posixsubprocess  -DPy_BUILD_CORE_BUILTIN _posixsubprocess.c
audioop audioop.c
_md5 md5module.c
_sha1 sha1module.c
_sha256 sha256module.c -DPy_BUILD_CORE_BUILTIN
_sha512 sha512module.c -DPy_BUILD_CORE_BUILTIN
_sha3 _sha3/sha3module.c
_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
syslog syslogmodule.c
binascii binascii.c
zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY -DUSE_PYEXPAT_CAPI
_multibytecodec cjkcodecs/multibytecodec.c
Scroll to top