fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:debian:apt

This is an old revision of the document!


APT (Advanced Packaging Tool)

apt update
apt install package name
apt install -y package name

apt upgrade
apt full-upgrade
apt dist-upgrade


apt remove package name
apt purge package name
apt autoremove

apt -o Acquire::ForceIPv4=true update

Upgrade

Debian 11 → 13

  1. Upgrade to Debian 12
  2. Upgrade to Debian 13
sudo apt install -y screen && screen
sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sudo find /etc/apt/sources.list.d -type f -exec sed -i 's/bullseye/bookworm/g' {} \;
sudo sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
sudo find /etc/apt/sources.list.d -type f -exec sed -i 's/bookworm/trixie/g' {} \;
sudo apt update && sudo apt full-upgrade
sudo systemctl reboot
sudo apt autoremove && sudo apt clean
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
linux/debian/apt.1772918475.txt.gz · Last modified: by gsys