Skip to content

Instantly share code, notes, and snippets.

@remixer-dec
Last active May 3, 2025 15:12
Show Gist options
  • Save remixer-dec/3d07bd8a775657e46a861d5221a383e9 to your computer and use it in GitHub Desktop.
Save remixer-dec/3d07bd8a775657e46a861d5221a383e9 to your computer and use it in GitHub Desktop.
debian bullseye aarch64, install pip for python3.9
#!/bin/bash
[ "$EUID" -ne 0 ] && exec sudo "$0" "$@"
# switch to root
wget "ftp.cz.debian.org/debian/pool/main/p/python3-stdlib-extensions/python3-lib2to3_3.9.2-1_all.deb"
wget "ftp.dk.debian.org/debian/pool/main/p/python3-stdlib-extensions/python3-distutils_3.9.2-1_all.deb"
wget "http://security.debian.org/debian-security/pool/updates/main/s/setuptools/python3-setuptools_52.0.0-4+deb11u1_all.deb"
dpkg -i python3-lib2to3_3.9.2-1_all.deb
dpkg -i python3-distutils_3.9.2-1_all.deb
dpkg -i python3-setuptools_52.0.0-4+deb11u1_all.deb
apt-get update
apt-get install python3-pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment