search

Home  >  Q&A  >  body text

php - rmp包安装 源码安装 yum安装有啥区别

如果rpm包是依赖性问题 那这个安装基本少用
但是源码包也是会有依赖性哈
那为啥不用yum yum只是从资源库下载 版本问题不好解决 对源码包和rpm我不是很清楚

PHP中文网PHP中文网2774 days ago1038

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-04-27 09:03:18

    Yum essentially installs rpm packages, but yum will automatically resolve dependencies. If you use the rpm command to install, you need to resolve the dependencies yourself. As for the version of the installation package, I remember that you can control it yourself

    reply
    0
  • 阿神

    阿神2017-04-27 09:03:18

    System Agreement

    centos system

    yum

    yum is divided into official sources and third-party sources.
    Official source packages have passed Red Hat’s strict binary testing. But the version may be older.
    Third-party sources are made by enthusiasts in the community. The version is newer, but the security of the package depends on the author.

    rpm package

    rpm packages are produced and released after compilation. Some compilation parameters cannot be customized and have limitations.

    source

    The source code can customize compilation parameters. There are certain technical requirements for users.

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-04-27 09:03:18

    To be smart, I suggest the author to change his own source. If it can be installed with yum in the future, use yum to install it. If it really can't be solved, then consider the source code. For how to change the source, see: 15 things to do after installing RedHat and Centos

    reply
    0
  • Cancelreply