automate/020_kicad-kibot.sh

25 lines
760 B
Bash

RELEASE="bullseye"
# RELEASE="bookworm"
# wget https://set-soft.github.io/debian/kibot.list -O /etc/apt/sources.list.d/kibot.list
ARCH=$(dpkg --print-architecture)
KEY_DIR=/etc/apt/trusted.gpg.d
KEY=${KEY_DIR}/kibot.gpg
sudo wget -O ${KEY} https://set-soft.github.io/debian/kibot.gpg
cat <<-EOF | sudo tee /etc/apt/sources.list-available/kibot.list >/dev/null
deb [arch=${ARCH} signed-by=${KEY}] https://set-soft.github.io/debian/ ${RELEASE} main
EOF
sudo ln -sf /etc/apt/sources.list-available/kibot.list /etc/apt/sources.list.d/kibot.list
sudo apt update
sudo apt install -y kibot kicost kibom.inti-cmnb interactivehtmlbom.inti-cmnb librsvg2-bin python3-mistune kikit xcvt kidiff
# for blender export
sudo apt-get install -y blender
kibot-check