Home  >  Q&A  >  body text

linux - apt-get库,与yum库,谁收录的软件包更多?

经常遇到在apt-get内找到了软件,但在yum里找不到,或者相反。
于是产生了这些问题:

apt-get与yum库,两者收录的软件内容、数量、广泛性都不一样吗?
在查找与安装软件的角度上来说,谁更好?

天蓬老师天蓬老师2743 days ago881

reply all(5)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 13:26:04

    …First of all, the two things are not comparable.

    apt-get is a maintenance tool under Debian/ubuntu
    yum is a maintenance tool under Redhat/CentOS

    The second is naming: CentOS usually looks like this: libxxx-devel, Debian usually looks like this: apt-get install libxxx-dev

    According to Du Niang or Google, this is:

    Compared with yum and apt-get, it is not just about comparing the number and speed of sources, nor is it just about how to solve dependencies. The issue of the pros and cons of rpm and dpkg has also been discussed and cannot be avoided. Although Debian is the only operating system that advertises GNU/Linux, for a long time, "redhat is Linux". RPM (Redhat Package Manager) is such an influence, (of course, yum comes from another distro: yellow dog) . Redhat officially announced that it will stop supporting the RPM project.

    reply
    0
  • PHPz

    PHPz2017-04-17 13:26:04

    It should be more yum

    reply
    0
  • 黄舟

    黄舟2017-04-17 13:26:04

    The package management tool used by Debian/Ubuntu is apt-get, which contains far more software than Redhat/CentOS’s yum. On the famous Linux VPS provider Linode, Ubuntu is the most used operating system (more than half ), followed by Debian.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 13:26:04

    There is no one that is more comprehensive or better than this

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 13:26:04

    I guess what you want is: compare which system software and choose the better one.

    In general, apt-get, that is, Debian-based software updates such as Ubuntu are relatively fast.

    yum, which is based on redhat and centos, will generally release a stable version. The general idea is that the update is relatively slow.

    Normally speaking, if the software cannot be found, you should consider manual compilation, which is the fastest and most effective method.

    reply
    0
  • Cancelreply