Created
February 13, 2022 19:53
-
-
Save FatalMerlin/f520c17f7a29f775fff68a13a3c9ade5 to your computer and use it in GitHub Desktop.
How to check if package from list file is not installed with apt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xargs -a packages.txt apt -qq list | grep -v "\[install" | awk '$3 == "amd64" {print $1}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment