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

Linux

Linux related articles

Releasing Jambula OS Linux – version 2025.3.0

🚀 I have uploaded the latest image of Jambula OS Linux version 2025.3.0 (Great Seasons)! 💻✨
While this is mostly a maintenance release, I’ve snuck in some exciting features like:

✅ Remote connections just got easier with Tailscale support! 🌐
✅ Audio calendar alerts are now possible with Radicale 📅🔔
✅ Nginx web/proxy server support 🖥️
✅ Geolocation tool to help you pinpoint device location 📍

For more information about Jambula OS Linux, including instructions on how to download and install it, please visit:
https://github.com/zikusooka/Jambula-OS

Jambula OS Linux – Version 2025.1.0 Released

I have just compiled and released a new image for Jambula OS Linux version 2025.1.0! This exciting update features a range of innovative enhancements, including:

🌟 Seamless integration with the latest Home Assistant smart home software

📅 Radicale, the lightweight and powerful CalDAV/CardDAV server for all calendaring needs

🎵 A local music server that supports audio announcements and alerts

🕰️ A talking clock feature that announces the time at hourly intervals

🌦️ Periodic weather updates delivered through voice alerts tailored to your location

📷 MQTT-based triggers activated by motion detection from the built-in camera server

For more information about Jambula OS Linux, including instructions on how to download and install it, please visit:

https://github.com/zikusooka/Jambula-OS

Hass Core Installer, a new Home Assistant Installer and upgrade tool for Linux

I’m excited to announce that I have uploaded a new tool called HASS Core Installer. As you have guested, its a handy tool that makes it very easy to install, upgrade, and uninstall Home Assistant Core on Linux. So weather you are a beginner, intermediate, or advanced Home Assistant user, this tool is just what you need if any of the official and recommended methods are not sufficient for your use case.

I initially developed this tool for use on Jambula OS, a custom tailored Linux operating system designed for SoC devices such as the Raspberry Pi. However, you can use it on any Linux distribution such as Ubuntu, Fedora, OpenSUSE, Ubuntu, Debian etc.

HASS Core Installer also works off-line allowing for local installations and upgrades of Home Assistant in scenarios where there’s no access to the Internet.

To get started or contribute to this project, check out the HASS Core Installer repository on my Github!

Jambula OS Linux now offers support for Home Assistant

🚀✨ Exciting news for smart home enthusiasts! I have added support for Home Assistant Core installs & upgrades to Jambula OS (starting with version 2024.10.0) 🎉

⚙️ Jambula OS is a custom Linux operating system 🐧 designed specifically for SoC devices like the Raspberry Pi 5

⬇️ You can download it here: https://github.com/zikusooka/Jambula-OS/

🏡 Upgrade today and kickstart your journey to creating a private, offline smart home 💡hub!

Linux, Python, Security, and Open Source Software TIPS

  • 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
  • Watching @Karlitschek , Founder of @nextcloud speak at #FOSSASIA. Great insights on how to build a sustainable open source company! #FOSSASIA2025 #FOSSASIA25 #FOSS #opensource
  • The slides on OSPO talk presented by Sri Harsha looked fantastic. Does anyone know what technology is powering them?#FOSSBack #FOSSBack25 #FOSSBackstage #FOSSBackstage2025 #Opensource
  • Listening to @shauna share great thoughts on relationships in #FOSS. Such valuable insights! @fossback#FOSSBack #FOSSBack25 #FOSSBackstage #FOSSBackstage2025 #Opensource
  • Are you attending FOSS Backstage 2025?Join my session on fostering FOSS adoption in underserved communities today, March 11, at 11:35 CET ~ Wintergarten.I will be sharing key strategies and insights, with a special focus on Africa. @fossbackhttps://25.foss-backstage.de/session/empowering-african-communities-using-open-source-software#FOSSBack #FOSSBack25 #FOSSBackstage #FOSSBackstage2025 #FOSS #Africa #Diversity #Opensource
  • Listening to a great and humourous talk on "How to Explain the Impact of Your Open Source Work" by @horncologne @FOSSBackstage #fossback #fossbackstage
  • If you're attending FOSS Backstage 2025, be sure to catch my talk on Tuesday, March 11, at 11:35 CET (Wintergarten) @FOSSBackstage https://25.foss-backstage.de/session/empowering-african-communities-using-open-source-software#FOSSBack #FOSSBackstage #FOSSBackstage2025 #FOSS #Africa #Diversity #Opensource
  • Next week, I'll be presenting at FOSS Backstage 2025. Join me as I discuss opportunities and strategies for boosting open source software adoption in Africa.Boosts appreciated!https://25.foss-backstage.de/session/empowering-african-communities-using-open-source-software@FOSSBackstage #FOSSBackstage #FOSSBack #FOSS #Opensource
  • 💡 Record audio from a microphone on a Linux system using gstreamer @gstreamer @fedora @opensuse @archlinux gst-launch-1.0 alsasrc ! audioconvert ! lamemp3enc ! filesink location=recorded.mp3#ZikTIPs #pipewire #pulseaudio #techtips #Linuxtips #LinuxTechTips #Opensource
  • Federation in the New Nextcloud Hub 10 is big! #Nextcloud https://nextcloud.com/@nextcloud #nextcloud #NextcloudHub
  • Happy I Love Free Software Day ♥️#ilovefs #softwarefreedom #foss #opensource @kirschnerSome of my favorite projects and organizations that contribute to #freesoftware (in no particular order):@fedora @opensuse @debian @tails @signalapp @homeassistant @nextcloud @icing@raspberrypi @linuxfoundation@conservancy@matrix@fsfe@ThePSF @sovtechfund@iscdotorg#Linux#systemd #buildroot#fediverse…Thank you to everyone who dedicates their time to contribute to open source software
  • 💡On a Linux system, use the "nohup" utility to execute one-time commands or scripts that can run later, even after you log out of your terminal session @opensuse @fedora @debian Example: To schedule a one-time script to run 15 minutes after you disconnect from the terminal:nohup bash -c "(sleep 900 && ./myscript.sh)" &#ZikTIPS #linuxtips #techtips #sysadmin #Fedora #OpenSUSE #Opensource
  • Introduction to Pipewire @fedora @opensuse #fedora #pipewire #opensource https://fedoramagazine.org/introduction-to-pipewire/
  • 💡 Use the following Linux command to create a file with a specific access and modification timestamp @fedora @opensuse @archlinux touch -t [FILE] e.g. For a file named mytalk.txt March 10, 2025 at 9AM:touch -t 202503100900 mytalk.txtTo verify:stat -c "%x%y" mytalk.txt.#ZikTIPs #Linuxtips #LinuxTechTips #Opensource
  • FOSS events like #FOSDEM happening this weekend are vital for inspiring #opensource developers and contributors especially in underrepresented regions.Shameless plug: I'm planning to attend several #FOSS conferences this summer. My participation will enhance my efforts to promote the widespread adoption of Open Source Software in Africa. Your support can empower our communities and drive innovation in these regions.https://gofund.me/408f9378#FOSDEM2025 #fundraiser #fundraising#crowdfunding

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

How to use Linux GNOME terminal like a Pro

For most users work is typically done in a web browser like Firefox or Chrome. (BTW, if you are not using Mozilla’s Firefox, I can not emphasize enough why you should switch to this opensource browser)
For advanced users i.e. IT admins, software developers, most of their time may be spent in a terminal and on Linux most often gnome terminal

Like regular users who prefer to open multiple tabs in a browser, using tabs in a terminal is necessary for an advanced user if they are to be productive. However, it can get pretty tedious and boring having to open up multiple terminal tabs in every time you start your Linux desktop

Using the command line tool gnome-terminal this process can be automated. This tool allows you to open multiple gnome-terminal tabs like a pro i.e. At desktop startup, open several & different tabs each with its own specified directory path or run command. You can even log into a remote system, if you have setup to allow passwordless SSH connections.

Below is a basic example of gnome-terminal command in action

gnome-terminal --maximize --geometry=80x24+200+200 --display=:0 --tab-with-profile=DAY -t Local --working-directory=/projects --tab-with-profile=NIGHT -t Remote -e "ssh -t jambula@REMOTE \"cd /opt; bash\""

I use this in a script which is activated by a custom keyboard shortcut to start my day

Why installing open source packages using sources is cool and how to start today

Until you start installing packages on Linux/UNIX systems using sources, you will always be very dependent on your distribution or vendors to stay up to date.

Installing from sources may not be for everyone, but I recommend it for novice and advanced Linux/UNIX users alike, as it offers tremendous benefits:

  1. Ability to fine tune the package according to your needs
  2. You almost always end up with a much faster application
  3. You get the latest security updates immediately
  4. You learn a whole lot

So how do you install from sources?

  • Download the package from URL upstream

The package may be in several forms: PACKAGE.tar.gz, PACKAGE.tar.bz2, PACKAGE.xz, or clone from a github repository i.e. git clone [URL]

  • Unpack the package inside your sources directory e.g. /usr/src:
    tar zxvf PACKAGE.tar.gz -C /usr/src
    tar jxvf PACKAGE.tar.bz2 -C /usr/src
    tar xvf PACKAGE.tar.xz -C /usr/src

  • IMPORTANT: Read the following two files if available: README (or README.md) and INSTALL. I can not stress how important it is to read the above files. The package
    maintainer will usually include notes on how to compile and install the package

  • Change to source directory of the package
    cd /usr/src/PACKAGE-VERSION/

  • Compile
    ./configure

  • Install
    make && make install

Thats it! If all went well especially during the make, you should be able to run your package. Sometimes, the configure command will specify that
a dependency is missing. You will need to install it before you proceed. This is why it is important that you read the README and INSTALL files.

How to add a printer in Linux using the command line (CLI)

Managing printers in Linux has become easier lately. With just a few clicks in your GNOME, KDE, UNITY, or other desktop, you could be printing away in just seconds. But what about the command line Interface? Here too, a simple command is all you need, and in a few steps your printer should be setup

Before you start, ensure that the CUPS package is installed on your Linux system and if not, install it using your package manager e.g. For Redhat based systems:

dnf install cups

Alternatively, you may download CUPS and PPD files direct from the CUPS website at: https//www.cups.org/

1. Find the Postscript Printer Description (PPD) file for your printer. Typically installed with the cups package and stored under: /usr/share/cups/model/. Also look under /usr/share/ppd/cupsfilters

2. Run the command lpinfo -l to get a list of available printers and drivers i.e. device-uri

3. Add your printer using the following command:

lpadmin -p “HP-LaserJet-CM3530-1” -D “Human Resources Department” -P /usr/share/ppd/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd -E -v file:///dev/PRINTER_PATH

-v represents the device-uri as seen in step 3. For a detailed explanation of the options, type: man lpadmin

Scroll to top