Ubuntu package System

Information about Disto and installed packages

# Linux Standard Base info
lsb_release -a


# All Ubuntu repo packages
apt list


# Estimate Count the available packages, but it seems we have multiple arch options
apt list | wc -l


# quick summary of available packages
apt list drbd-utils
apt list python3
apt list mariadb-server


# full details about a package
apt show drbd-utils
apt show python3
apt show -a apache2
apt show -a nginx


#Currently Installed on the System
apt list --installed
apt list --installed | wc -l


# installed packages with their descriptions
dpkg --list


# all repository packages (installed or not)
dpkg --list python*
dpkg --list *