apt-mark
Utility to change the status of installed packages. tldr-pages
On Linux
Linux
Mark a package as automatically installed
sudo apt-mark auto packageIdentifyHold a package at its current version and prevent updates to it
sudo apt-mark hold packageIdentifyAllow a package to be updated again
sudo apt-mark unhold packageIdentifyShow manually installed packages
apt-mark showmanualIdentifyShow held packages that aren't being updated
apt-mark showholdIdentify