Common Ubuntu apt commands

Source: Internet
Author: User

Apt- Cache search packagename search package Apt - Cache show packagename: obtains information about the package, such as description, size, and version. -Get Install  Packagename installation package Apt -Get Install Packagename -- Reinstall reinstallation package Apt -Get-F Install  Fix and install Apt - Get remove packagename Delete package Apt -Get remove packagename -- Purge deletes packages, including APT files for deletion. - Get Update update source Apt - Get upgrade updates installed packages Apt -Get dist- Upgrade upgrade system Apt - Get clean clear useless packages Apt - Get autoclean clear useless packages Apt - Get check to check whether any corrupted apt dependency exists -Get dselect- Upgrade uses dselect to upgrade Apt - Cache depends packagename learn how to use Apt - Cache rdepends packagename is used to check which packages of the package depend on apt. -Get build-Dep packagename install the relevant compilation environment Apt -Get source packagename: Download the source code of the package.

 

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.