Installing Lazarus on Ubuntu 24.04

Lazarus is a free, open-source, Delphi-like IDE for Free Pascal that works great on Ubuntu 24.04.
Ubuntu 24.04 (Noble Numbat) includes Lazarus 3.0 in its official repositories — a reasonably modern version.

Recommended installation methods (as of early 2026)
Option 1: Simplest – Install from Ubuntu Repositories (recommended for most users)
# Update package list
sudo apt update

# Install the full Lazarus suite (includes IDE + compiler + components)
sudo apt install lazarus

This pulls in everything you need (lazarus-ide, fpc, lcl, etc.).

Alternative variants if you want a specific widget set:

  • sudo apt install lazarus-ide-gtk2 ← Most common on Ubuntu (GTK2 backend)
  • sudo apt install lazarus-ide-qt5 ← Qt5 backend (sometimes better looks on some themes)

After installation, start Lazarus from the menu (search for "Lazarus") or from terminal:

lazarus

Option 2: Get a newer version (4.x series) via unofficial PPA

If you want Lazarus 4.0+ (newer bug fixes & features):

sudo add-apt-repository ppa:rob-savoury/backports -y
sudo apt update
sudo apt install lazarus lazarus-ide lazarus-ide-gtk2   # or lazarus-ide-qt5

(You can later remove the PPA if desired:
sudo add-apt-repository --remove ppa:rob-savoury/backports)


Quick test after installation
  1. Open Lazarus
  2. File → New → Application
  3. Drop a TButton on the form
  4. Double-click the button and write:
    ShowMessage('Hello from Ubuntu 24.04!');
  5. Press F9 (or click Run) → you should see the classic "Hello World" message box

Happy coding! 🚀

Quality, Reliability & Service
Thank You For Visiting
Brooks Computing Systems - Jacksonville
Visit https://bcs.archman.us