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.
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.
…First of all, the two things are not comparable.
apt-get
is a maintenance tool underDebian/ubuntu
yum
is a maintenance tool underRedhat/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:
It should be more yum
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.
There is no one that is more comprehensive or better than this
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.