This repository provides Debian packages for PythonSCAD on Debian and Ubuntu-based distributions.
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).
This repository provides packages for the following distributions:
Codename: jammy
Long-term support until April 2027
Codename: noble
Long-term support until April 2029
Codename: oracular
Support until July 2025
Codename: questing
Support until July 2026
Codename: bullseye
Long-term support until August 2026
Codename: bookworm
Long-term support until June 2028
Codename: trixie
Testing distribution, support until June 2025
To find your distribution codename, run:
lsb_release -sc
Alternatively, you can download packages directly by distribution:
Package pools by distribution:
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
If lsb_release is not available, you can:
sudo apt install lsb-release$(lsb_release -sc) with your codename from the list above/etc/os-release: grep VERSION_CODENAME /etc/os-releaseIf you see dependency errors, ensure you have the latest package list:
sudo apt update
sudo apt install -f