Skip to content

Instantly share code, notes, and snippets.

@Arnie97
Last active November 28, 2023 14:28
Show Gist options
  • Save Arnie97/0b520e493df675a4b5d5a62fbda07a56 to your computer and use it in GitHub Desktop.
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
btrfs-progs
htop
hub
iftop
inxi
ipcalc
iperf3
iproute2
iputils-ping
jq
lsof
mtr-tiny
ncdu
neovim
netcat-openbsd
nmap
nnn
podman
proot
pv
reptyr
rhash
rsync
screen
silversearcher-ag
socat
strace
tcpflow-nox
tmux
wireguard
zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment