当我在 x86_64 CentOS 上安装 MySQL 时,yum
也想安装 i386 版本。
为什么会这样?我可以只获取 x86_64 版本以节省磁盘空间吗?
[root@rt ~]# yum install mysql-server mysql
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Dependency: perl(DBI) for package: mysql
---> Package mysql.x86_64 0:5.0.77-4.el5_6.6 set to be updated
---> Package mysql-server.x86_64 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server
--> Running transaction check
---> Package perl-DBD-MySQL.x86_64 0:3.0007-2.el5 set to be updated
---> Package perl-DBI.x86_64 0:1.52-2.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================
Package Arch Version Repository Size
===================================================================================
Installing:
mysql i386 5.0.77-4.el5_6.6 base 4.8 M
mysql x86_64 5.0.77-4.el5_6.6 base 4.8 M
mysql-server x86_64 5.0.77-4.el5_6.6 base 9.8 M
Installing for dependencies:
perl-DBD-MySQL x86_64 3.0007-2.el5 base 148 k
perl-DBI x86_64 1.52-2.el5 base 600 k
Transaction Summary
===================================================================================
Install 5 Package(s)
Upgrade 0 Package(s)
Total download size: 20 M
Is this ok [y/N]:
答案1
这可能是仅限 32 位客户端的部分,可能是为了与旧的仅限 32 位二进制应用程序兼容而必要的。
在我看来,甚至谈论节省 4.8 MB 的磁盘空间也不值得花时间。