pho ramen soba

Tuesday, 14 May 2024

ubuntu 24.04 on a raspberry pi 5 — report #1

I decided to fully switch over to Ubuntu 24.04 Sunday evening after booting it for the first time and finding absolutely nothing wrong with the installation. These next few reports will combine some of the earlier report posts I wrote concerning the use …
Read on blog or Reader
Site logo image Arcane Science Lab Read on blog or Reader

ubuntu 24.04 on a raspberry pi 5 — report #1

whbeebe

May 14

I decided to fully switch over to Ubuntu 24.04 Sunday evening after booting it for the first time and finding absolutely nothing wrong with the installation. These next few reports will combine some of the earlier report posts I wrote concerning the use of Ubuntu 23.10 on the same Raspberry Pi 5 hardware.

Bottom line: The execution of Ubuntu 24.04 on a Raspberry Pi 5 with 8 GiB of memory is superb. It runs smoothly and snappily off of a 128 GiB SanDisk Extreme PLUS V30 microSDXC card.

Ubuntu 24.04 on Raspberry Pi 5
A fresh Ubuntu 24.04 installation on a Raspberry Pi 5

Sometimes it's good to just start with a clean sheet installation and not wait for a distribution to be ready for a safe update. I'd been on Ubuntu 23.10 for Raspberry Pi 5 since it was released last October, having chosen it over the official Raspberry Pi OS release. Over the past eight-or-so months I've tinkered and installed packages, in part to try and fix an issue, and in part just to see if I could built atop those packages. Some things worked and some things did not. Some solutions were not an ideal solution, an example being the rpi-imager tool. I misread how to install it via apt and instead downloaded source and built it directly.

Here's a punch list of what I did after a clean Ubuntu 24.04 installation.

  • Installed gnome-tweaks
  • Installed papirus-icon-theme, and used gnome-tweaks to select Papirus icons for my desktop.
  • Installed python-is-python3 so that typing python invokes python.
  • Found and destroyed the EXTERNALLY-MANAGED file under /usr/lib/python3.12.
  • Installed python3-pip to get pip.
  • Installed python3-lpgio.
  • Installed python3-gpiozero
  • Installed btop, curl, and vim.
  • Installed fonts-powerline and python3-powerline
  • Installed raspi-config.
  • Installed git.
  • Installed rpi-imager.

Using pip:

  • Installed powerline-status.
  • Installed luma.led_matrix.

It appears that accessing GPIO and SPI functionality has advanced to the point where a udev rules file isn't needed anymore. You will, however, need to run sudo raspi-config and enable the SPI functionality, then reboot the Raspberry Pi to fully enable that functionality. The same holds true for I2C.

For development tools, I did the following:

  • Installed Rust from the Rust website using curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh. That's why you should have installed curl earlier. You should maintain your own copy of Rust because the version shipping with an Ubuntu LTS release, which this is, will be stuck at release 1.74. The current release from the website is already at 1.78, and you need that release if you're going to do any advanced work, such as writing Rust-based drivers for current Linux kernels starting at version 6.8, which just so happens to be the kernel Ubuntu 24.04 LTS is running on.
  • Install the Hack Nerd font following the instructions here: https://gist.github.com/matthewjberger/7dd7e079f282f8138a9dc3b045ebefa0 . Once the Hack Nerd fonts are installed, then go into Terminal's Preferences, select the default profile under Profiles, click the Custom font checkbox, then select Hack Nerd Font Mono. Based on the screen I use for my Raspberry Pi I chose a size of 14 points.
  • I downloaded the Visual Studio Code .deb Arm64 file from https://code.visualstudio.com/download and then used apt to install the package directly.
  • With VSCode and Nerd Fonts installed, you can configure VSCode to use those Nerd Fonts by following these directions: https://code.visualstudio.com/docs/terminal/appearance#_custom-glyphs . I would strongly advise you use "Hack Nerd Font Mono" for both the editor and the terminal.

Also, as a Public Service Announcement, do not install the Gnome Shell Extension Manager. It has a noticeably negative impact on desktop performance. Even disabling the manager doesn't reduce the impact, only a complete removal/purge of the manager will bring back performance.

I am quite pleased with the polished performance of Ubuntu 24.04 on the Raspberry Pi 5 with 8 GiB. Unless you have a specific use case for Raspberry Pi OS, I heartily recommend Ubuntu 24.04 LTS.

 

Comment
Like
You can also reply to this email to leave a comment.

Arcane Science Lab © 2024. Manage your email settings or unsubscribe.

WordPress.com and Jetpack Logos

Get the Jetpack app

Subscribe, bookmark, and get real-time notifications - all from one app!

Download Jetpack on Google Play Download Jetpack from the App Store
WordPress.com Logo and Wordmark title=

Automattic, Inc. - 60 29th St. #343, San Francisco, CA 94110  

at May 14, 2024
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

NEW! 20 Healthier Homemade Treats for Caramel Lovers

Calling all CARAMEL lovers! We've gathered caramel-flavored desserts with a healthier twist! All dairy-free + ...

  • [New post] This tried-and-true Irish pub-inspired soup is creamy and thick with chunks of potatoes and leeks throughout.
    Emily Morgan posted: "This tried-and-true Irish pub-inspired soup is creamy and thick with chunks of potatoes and leeks thr...
  • LA COURONNE LYONNAISE, TWO WAYS
    This bread originates in Lyon, and is shaped as a crown, therefore the name ...
  • Keto Chicken Pot Pie Casserole (Gluten-Free)
    INGREDIENTS US CustomaryMetric▢4 cups cooked chicken breast (roasted, rotisserie...

Search This Blog

  • Home

About Me

phoo, ramen, soba
View my complete profile

Report Abuse

Blog Archive

  • October 2025 (18)
  • September 2025 (19)
  • August 2025 (28)
  • July 2025 (25)
  • June 2025 (28)
  • May 2025 (34)
  • April 2025 (36)
  • March 2025 (39)
  • February 2025 (36)
  • January 2025 (43)
  • December 2024 (46)
  • November 2024 (51)
  • October 2024 (44)
  • September 2024 (1172)
  • August 2024 (1572)
  • July 2024 (1413)
  • June 2024 (1289)
  • May 2024 (1362)
  • April 2024 (1472)
  • March 2024 (1827)
  • February 2024 (2413)
  • January 2024 (2936)
  • December 2023 (2135)
  • November 2023 (1639)
  • October 2023 (1285)
  • September 2023 (918)
  • August 2023 (864)
  • July 2023 (795)
  • June 2023 (800)
  • May 2023 (796)
  • April 2023 (754)
  • March 2023 (649)
  • February 2023 (736)
  • January 2023 (1159)
  • December 2022 (968)
  • November 2022 (921)
  • October 2022 (852)
  • September 2022 (708)
  • August 2022 (766)
  • July 2022 (877)
  • June 2022 (684)
  • May 2022 (716)
  • April 2022 (698)
  • March 2022 (781)
  • February 2022 (734)
  • January 2022 (955)
  • December 2021 (1387)
  • November 2021 (3002)
  • October 2021 (3213)
  • September 2021 (3188)
  • August 2021 (3232)
  • July 2021 (1697)
Powered by Blogger.