Apt-cache
This command is used to search for software in APT's package cache. In simple terms, it is used to search for packages, collect package information, and use it to search for software that can be installed on Ubuntu or Debian.
$APT-cache Search Package
$APT-cache Show package for information about packages, such as description, size, version, etc.
Apt-get
This command is a command managed by the Operations Resources department.
$sudo Apt-get Install Package
$sudo Apt-get Install package--reinstall Reinstall packages
$sudo apt-get-f Install repair installation
$sudo Apt-get Remove Package
$sudo apt-get Remove Package--purge Delete packages, including configuration files, etc.
$sudo apt-get Update Source
$sudo apt-get upgrade to update installed packages
$sudo apt-get Dist-upgrade Upgrade System
$apt-cache depends package Learn about the packages that are dependent on the package
$APT-cache Rdepends package to see which packages are dependent on the packages
$sudo apt-get BUILD-DEP Package Installation-related compilation environment
$APT-get Source Package to download the source code for the bundle
$sudo apt-get clean && sudo apt-get autoclean cleanup of useless packages
$sudo Apt-get Check to see if there is a corrupted dependency
Linux apt Operation commands