如何在CentOS 6.4中使用rpm(不是yum cmd)+处理mysql-libs冲突来安装MariaDB rpms
我需要在CentOS 6.4中使用rpm命令来编写MariaDB的安装脚本。 我不能使用yum,因为它将会是一个离线安装,所以无法访问版本库。 唯一安装的MySQL软件包是mysql-libs,因为CentOS中的其他软件包依赖于它。 当我用yum做了一个MariaDB的testing安装,它正确地解释了mysql-libs,并且在最后卸载它,MariaDB可以在安装之后处理依赖关系: [root@new-host-6 ~]# yum install MariaDB-client MariaDB-common MariaDB-compat MariaDB-devel MariaDB-server MariaDB-shared Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security, verify Loading mirror speeds from cached hostfile * base: mirrors.kernel.org * extras: mirror.keystealth.org * updates: mirror.umd.edu Setting up Install Process Resolving Dependencies –> Running transaction check —> Package MariaDB-client.x86_64 0:5.5.32-1 will be installed —> […]