search

Home  >  Q&A  >  body text

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

rttttttttttt

高洛峰高洛峰2774 days ago850

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-24 09:11:51

    https://debian-handbook.info/browse/stable/sect.apt-get.html

    I feel that in actual experience apt > apt-get > aptitude

    reply
    0
  • 怪我咯

    怪我咯2017-04-24 09:11:51

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

    and

    $ apt-get moo
    $ aptitude moo -vvvvv

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-24 09:11:51

    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.

    意思就是 没啥区别

    reply
    0
  • Cancelreply