apt和apt-get的区别是什么?

rttttttttttt

阅读 20.2k
评论
    4 个回答
    • 4.3k

      搬运自:https://www.sysgeek.cn/apt-vs...

      0、apt下除了get还有cache、config等(即apt-cache、apt-config)命令;
      1、为了使apt系列命令更加结构化,apt命令涵盖了大多数apt-get、apt-cache、apt-config的命令;
      2、apt并不能完全向下兼容apt-get命令
      ……

        $ apt-get --help | grep Cow
        $ aptitude --help | grep Cow
        $ apt --help | grep Cow

        以及

        $ apt-get moo
        $ aptitude moo -vvvvv
          • 2
          • 新人请关照

          apt (Advanced Package Tool) is the command-line tool for handling packages. It provides a commandline interface for the package management of the system.

          DIFFERENCES TO APT-GET(8)

          The apt command is meant to be pleasant for end users and does not need to be backward compatible like apt-get(8). Therefore some options are different:

          • The option DPkgPM::Progress-Fancy is enabled.

          • The option APT::Color is enabled.

          • A new list command is available similar to dpkg --list.

          • The option upgrade has --with-new-pkgs enabled by default.

          意思就是 没啥区别

            撰写回答

            登录后参与交流、获取后续更新提醒

            相似问题
            推荐文章