Learn more about Linux-5apt software package management commands
Source: Internet
Author: User
Learn Linux -- 5apt package management command detailed introduction APT use of some common commands: 1.1 installation package: sudoapt-getinstallpackagename1.2 Delete Package: sudoapt-getremovepackagename1.3 get new software... learn about Linux -- 5 apt software package management commands in detail some common commands used by APT: 1.1 install software package: sudo apt-get install packagename 1.2 delete software package: sudo apt-get remove packagename 1.3 get the new package list: sudo apt-get update 1.4 upgrade the available update system: sudo apt-get upgrade 1.5 list more commands and options: apt-get help 1.6 common APT command parameters apt-cache search package apt-cac He show package obtains information about the package, such as description, size, and version. Examples of sudo apt-get install package installation packages are as follows: sudo apt-get install eclipse sudo apt-get install sun-java6-jdk download the installer to your/var/cache/apt folder and install it. Sudo apt-get install package--reinstall re-installation package sudo apt-get-f install fix installation "-f = ?? Fix-missing "sudo apt-get remove package delete package sudo apt-get remove package-purge Delete package, including deleting configuration files and other sudo apt-get update sources sudo apt-get upgrade update installed packages sudo apt-get dist-upgrade system sudo apt-get dselect-upgrade use dselect upgrade apt-cache depends package to learn how to use apt-cache rdepends package to check which packages of the package depend on sudo apt-get build-dep package to download apt-get source package the source code sudo apt-get clean & sudo apt-get autoclean of this package cleans up useless packages sudo apt-get check to check for any corrupted dependencies
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.