php - rmp包安装 源码安装 yum安装有啥区别
PHP中文网
PHP中文网 2017-04-27 09:01:18
0
3
1057

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

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
Ty80

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

阿神

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.

仅有的幸福

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template