Download and install package:
apt-get install packageUpdate apt's list of available packages:
apt-get updateUpgrade all installed packages with upgrades available:
apt-get upgradeUpgrade to new distro, or in general upgrade anything available for update including core system packages:
apt-get dist-upgradeUninstall package:
apt-get remove packageUninstall package, and its config files, and don't leave it in the database as 'uninstalled':
apt-get --purge remove packageSearch for a package like pattern:
apt-cache search patternGet information on installed package:
dpkg -s packageFind which installed package file belongs to:
dpkg -S inetd.confList which files are in package:
apt-file list packageFind out what packages provide file:
apt-file search fileRun a command (such as ./configure or make) and have all necessary packages installed as needed:
auto-apt run commandUnless specified, the package in reference doesn't have to be already installed for these to work... but the database needs to be updated. You can update the appropriate database via:
apt-get updateor
auto-apt updateor
apt-file update
No comments:
Post a Comment