Golden Codes - armanexplorer planet

Practical code snippets for Django, Python, Bash, Git and All!

View on GitHub

only upgrade one package

sudo apt-get install --only-upgrade man-db

DEBIAN_FRONTEND=noninteractive

Example:

DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin >/dev/null

find and install package

using dpkg

# list all installed packages
dpkg -l

# Query Package Status
dpkg -s package_name | grep Version