Ubuntu apt main commands and parameters

Source: Internet
Author: User

1. Apt-cache Search Package

2. Apt-cache Search all for all installation packages

3. Apt-cache Show package Displays the installation pack information

4. Apt-cache depends package show use dependencies

5. Apt-cache Rdepends package to see which installation packages are dependent on

6. Apt-get Install the Package

7. Apt-get Install package--Reinstall reinstall it

8. Apt-get-f Install repair Installation

9. Apt-get Remove Package

Apt-get Remove Package--purge install installation packages and configuration files

Apt-get Update Source

Apt-get Upgrade Update installed packages

Apt-get Dist-upgrade Upgrade System

Apt-get Dselect-upgrade using Dselect upgrade

Apt-get BUILD-DEP Package Installation-related compilation environment

Apt-get source package to download the installer

Apt-get clean && sudo apt-get autoclean cleaning up a useless installation package

Apt-get Check to see if there is a damaged dependency

These operations need to be used under sudo.

Ubuntu apt main commands and parameters

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.