Written by
Niels Moseley
on
on
Ubuntu 22.04 install script
Shown below is my installation script for minimum Ubuntu 22.04 LTS:
#!/bin/sh
# update package repositories
sudo add-apt-repository ppa:kicad/kicad-7.0-releases
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt update
sudo apt install -y wget curl
# install graphics
sudo apt install -y inkscape
sudo apt install -y gimp gimp-gmic
wget https://download.opensuse.org/repositories/home:/otfried13/xUbuntu_22.04/amd64/ipe_7.2.27-1_amd64.deb
sudo dpkg -i ipe_7.2.27-1_amd64.deb
rm ipe_7.2.27-1_amd64.deb
# writing
sudo apt install -y texlive
# install EDA
sudo apt install --install-recommends -y kicad
# install Various
sudo apt install -y hugo
sudo apt install -y thunderbird
# install development
sudo apt install -y build-essential
sudo apt install -y git cmake ninja-build cppcheck
sudo apt install -y python3 python3-pip
wget "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" -O vscode_latest.deb
sudo dpkg -i vscode_latest.deb
rm vscode_latest.deb
# install python stuff
python3 -m pip install numpy
python3 -m pip install scipy
python3 -m pip install matplotlib
python3 -m pip install setuptools
python3 -m pip install tomli
# Qt
sudo apt install -y --install-recommends qt6-base-dev
sudo apt install -y libgl1-mesa-dev
# cleanup
sudo apt auto-remove