ubuntu - apt和apt-get的区别是什么?
高洛峰
高洛峰 2017-04-24 09:09:51
0
3
872

rttttttttttt

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

Antworte allen(3)
伊谢尔伦

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

我感觉实际体验上 apt > apt-get > aptitude

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

以及

$ apt-get moo
$ aptitude moo -vvvvv
伊谢尔伦

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.

意思就是 没啥区别

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage