RPM安装比源码更快更方便,更利于统一版本,省去了繁琐的编译过程,下面以制作mysql的rpm安装包为例。

 

编译环境

1、 安装rpm-build;

      检查是否配置rpm环境

1 # sudo yum list | grep rpm
2 This system is not registered with RHN.
3 RHN support will be disabled.
4 redhat-rpm-config.noarch                    8.0.45-32.el5              installed
5 rpm.x86_64                                  4.4.2.3-22.el5             installed
6 rpm-build.x86_64                            4.4.2.3-22.el5             installed
7 rpm-libs.x86_64                             4.4.2.3-22.el5             installed
8 rpm-python.x86_64                           4.4.2.3-22.el5             installed
View Code

相关文章:

  • 2021-08-26
  • 2021-12-10
  • 2022-12-23
  • 2021-05-15
  • 2021-09-03
  • 2021-07-13
  • 2021-07-21
猜你喜欢
  • 2021-04-09
  • 2021-12-26
  • 2022-02-23
  • 2021-05-21
  • 2021-10-14
  • 2021-10-29
  • 2021-11-22
相关资源
相似解决方案