Skip to content

Instantly share code, notes, and snippets.

@fberndl
Last active October 16, 2023 07:46
Show Gist options
  • Save fberndl/bc3154cae7567759d4012f611b4ed1a1 to your computer and use it in GitHub Desktop.
Save fberndl/bc3154cae7567759d4012f611b4ed1a1 to your computer and use it in GitHub Desktop.
Ubuntu 22.04 Setup
#!/bin/bash
DEBIAN_FRONTEND="noninteractive"
sudo apt update
# Yocto 4.2.99
https://docs.yoctoproject.org/ref-manual/system-requirements.html version
sudo apt -yqq install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev zstd liblz4-tool file locales
sudo apt -yqq install make python3-pip inkscape texlive-latex-extra
sudo pip3 install sphinx sphinx_rtd_theme pyyaml
# openwrt
sudo apt -yqq install build-essential clang flex bison g++ gawk \
gcc-multilib g++-multilib gettext git libncurses-dev libssl-dev \
python3-distutils rsync unzip zlib1g-dev file wget
# general tools
sudo apt -yqq install build-essential vim tree htop sed curl repo
# Install packages required by repo and bitbake
apt-get install -yqq --no-install-recommends \
curl python3 gpg-agent ca-certificates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment