Learn the Julia programming language on a Raspberry Pi

Cooking Pi

© Lead Image © lineartestpilot, 123RF.com

© Lead Image © lineartestpilot, 123RF.com

Article from Issue 282/2024

Create GUIs and a web app that connects to sensors.

Julia [1] is a relatively new general-purpose programming language that has an emphasis on data science and artificial intelligence (AI). In the past few years, Julia has been gaining momentum. Like Python and R, Julia can be used in Jupyter notebooks.

A Raspberry Pi is a great platform for an introduction to Julia programming, and Python users will be happy to hear that Python code can be integrated directly into Julia scripts. In this article, I look at creating a Julia graphical user interface (GUI), micro-web server, and charting apps that communicate with Raspberry Pi hardware. I'll also introduce mixing Python code within Julia script to communicate with an LCD display.

Getting Started

Julia is supported on Windows, macOS, and Linux. You can find the download instructions for your specific system online [2]. The latest supported version of Julia can be installed on a Raspberry Pi with the Snap package manager. To install Snap, enter


Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Julia

    Parallel processing is indispensable today – particularly in the field of natural sciences and engineering. Normal desktop users, however, can also benefit from higher performance through parallel execution with at least four calculation cores.

  • Scientist's Toolbox

    Linux and science are a natural fit. These are a handful of essential software packages both for getting work done and presenting it to others.

  • Whiptail

    Whiptail interfaces add menus and information pages to your Raspberry Pi projects.

  • Go on the Rasp Pi

    We show you how to create a Go web app that controls Raspberry Pi I/O.

  • Xonsh

    Create lightweight Raspberry Pi scripts with Xonsh, a Python shell that lets you write scripts in Python with Bash commands mixed in.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More