zoukankan      html  css  js  c++  java
  • back track's Common apt commands

    apt-get install <package> Downloads <package> and all of its dependencies, and installs or upgrades them.

    apt-get remove [--purge] <package> Removes <package> and any packages that depend on it. --purge specifies that packages should be purged.

    apt-get update Updates packages listings from the repo, should be run at least once a week.

    apt-get upgrade Upgrades all currently installed packages with those updates available from the repo. should be run once a week.

    apt-get dist-upgrade [-u] Similar to apt-get upgrade, except that dist-upgrade will install or remove packages to satisfy dependencies.

    apt-cache search <pattern> Searches packages and descriptions for <pattern>.

    apt-cache show <package> Shows the full description of <package>.

    apt-cache showpkg <package> Shows a lot more detail about <package>, and its relationships to other packages.

    man apt Will give you more info on these commands as well as many that are in less common usage.

  • 相关阅读:
    物体也能正常移动
    同时按住两个键
    连续子数组的最大和Java实现
    Entity Framework基础01
    MVC知识进阶01
    面向对象基础进阶03
    面向对象基础进阶02
    面向对象基础进阶01
    little skill---ping
    SqlServer------范式小结
  • 原文地址:https://www.cnblogs.com/sunth/p/2328429.html
Copyright © 2011-2022 走看看