Skip to content

Instantly share code, notes, and snippets.

@Arnie97
Last active April 4, 2026 05:24
Show Gist options
  • Select an option

  • Save Arnie97/0b520e493df675a4b5d5a62fbda07a56 to your computer and use it in GitHub Desktop.

Select an option

Save Arnie97/0b520e493df675a4b5d5a62fbda07a56 to your computer and use it in GitHub Desktop.
Mark preinstalled packages as automatic installed
dpkg-query -Wf '${Package}\t${Priority}\t${Essential}\n' | egrep '\trequired|yes$|apt|base|common|data|deb|dhcp|g(nu)?pg|init|lib|perl|python|sys|tool|util' | cut -f 1 | sudo xargs apt-mark auto
sudo apt install --no-install-recommends `cat`
apt-file
aptitude
atool
axel
b3sum
btrfs-progs
docker-cli
docker.io
htop
hub
iftop
info
inxi
ipcalc
iperf3
iproute2
iputils-ping
jq
lsof
mtr-tiny
ncdu
neovim
netcat-openbsd
nmap
nnn
podman
proot
pv
reptyr
ripgrep
rhash
rsync
screen
silversearcher-ag
smartmontools
spell
socat
strace
tcpflow-nox
tmux
tokei
vmtouch
wireguard-tools
xfsprogs
xxhash
zram-tools
zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment