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 …
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.
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.
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.
No comments:
Post a Comment