🎉 PythonSCAD APT Repository

This repository provides Debian packages for PythonSCAD on Debian and Ubuntu-based distributions.

Quick Setup (Automatic Distro Detection)

Copy and paste this command to automatically detect your distribution and add the repository:

wget -qO - https://repos.pythonscad.org/apt/pythonscad-archive-keyring.gpg | \
  sudo gpg --dearmor -o /usr/share/keyrings/pythonscad-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/pythonscad-archive-keyring.gpg] https://repos.pythonscad.org/apt $(lsb_release -sc) main" | \
  sudo tee /etc/apt/sources.list.d/pythonscad.list

sudo apt update
sudo apt install pythonscad

Note: The command above uses $(lsb_release -sc) to automatically detect your distribution codename. If lsb_release is not available, you can manually replace $(lsb_release -sc) with your distribution codename (see list below).

Supported Distributions

This repository provides packages for the following distributions:

Ubuntu 22.04 LTS

Codename: jammy

Long-term support until April 2027

Ubuntu 24.04 LTS

Codename: noble

Long-term support until April 2029

Ubuntu 24.10

Codename: oracular

Support until July 2025

Ubuntu 25.10

Codename: questing

Support until July 2026

Debian 11 (Bullseye)

Codename: bullseye

Long-term support until August 2026

Debian 12 (Bookworm)

Codename: bookworm

Long-term support until June 2028

Debian 13 (Trixie)

Codename: trixie

Testing distribution, support until June 2025

Check Your Distribution

To find your distribution codename, run:

lsb_release -sc

Supported Architectures

Manual Package Download

Alternatively, you can download packages directly by distribution:

Package pools by distribution:

GPG Key Information

Packages are signed with the PythonSCAD GPG key for security. The key is automatically imported in the setup command above.

To manually import the key:

wget -qO - https://repos.pythonscad.org/apt/pythonscad-archive-keyring.gpg | \
  sudo gpg --dearmor -o /usr/share/keyrings/pythonscad-archive-keyring.gpg

Troubleshooting

Command not found: lsb_release

If lsb_release is not available, you can:

  1. Install it: sudo apt install lsb-release
  2. Or manually replace $(lsb_release -sc) with your codename from the list above
  3. Or check /etc/os-release: grep VERSION_CODENAME /etc/os-release

Package dependencies not satisfied

If you see dependency errors, ensure you have the latest package list:

sudo apt update
sudo apt install -f

More Information