Raspberry Pi installation

Introduction

Martin Wimpress’ desktopify project on GitHub provides the best resource for installing Lubuntu on the Raspberry Pi⁰, as it does at least five very important things:

  1. Provides clear instructions with video on how to perform the whole installation.
  2. Sets up wireless appropriately (the server image assumes Ethernet).
  3. Installs some important Pi-specific packages, such as pi-bluetooth and GPIO support (you know, so you can make LEDs blink!)
  4. Makes some important Pi-specific configuration changes.
  5. Installs your choice of desktop environment (Lubuntu, of course!)

Installation

  1. Download the 20.04 version of Ubuntu Server for the Raspberry Pi¹.
  2. Install the image on your SDHC card using Raspberry Pi Imager.
  3. Install the card in your Raspberry Pi and boot it.
  4. Login with username and password of ubuntu. - The system will prompt you to change the password on first login.
  5. Update the system with sudo apt update && sudo apt full-upgrade.
  6. Clone the project with git clone https://github.com/wimpysworld/desktopify.git.
  7. Change to the repository directory with cd desktopify.
  8. Install Lubuntu with sudo ./desktopify --de lubuntu.
  9. Restart and enjoy² with sudo shutdown -r now.

⁰ At time of writing, the Raspberry Pi 2, 3, and 4 is supported.
¹ At time of writing, the script only supports 20.04. Theoretically, you could download one of the other images and simply manually execute the commands in the script, but it’s not guaranteed to work.
² Optionally, adding a swapfile might be useful for performance.

7 Likes