当前位置:网站首页>安装mysql时出现:需要这两个包perl(Data::Dumper),perl(JSON)
安装mysql时出现:需要这两个包perl(Data::Dumper),perl(JSON)
2022-07-01 19:27:00 【Rusty well began】
1、具体详情
[[email protected] soft]# ls
mysql-community-client-8.0.18-1.el7.x86_64.rpm mysql-community-devel-8.0.18-1.el7.x86_64.rpm mysql-community-libs-8.0.18-1.el7.x86_64.rpm mysql-community-server-8.0.18-1.el7.x86_64.rpm
mysql-community-common-8.0.18-1.el7.x86_64.rpm mysql-community-embedded-compat-8.0.18-1.el7.x86_64.rpm mysql-community-libs-compat-8.0.18-1.el7.x86_64.rpm mysql-community-test-8.0.18-1.el7.x86_64.rpm
[[email protected] soft]# rpm -ivh *
warning: mysql-community-client-8.0.18-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
perl(Data::Dumper) is needed by mysql-community-test-8.0.18-1.el7.x86_64
perl(JSON) is needed by mysql-community-test-8.0.18-1.el7.x86_64
2、解决办法
[[email protected] soft]# yum -y install perl
[[email protected] soft]# yum install perl perl-Data-Dumper
[[email protected] soft]# yum install perl perl-JSON
[[email protected] soft]# yum -y install perl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package 4:perl-5.16.3-299.el7_9.x86_64 already installed and latest version
Nothing to do
[[email protected] soft]# yum install perl perl-Data-Dumper
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package 4:perl-5.16.3-299.el7_9.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================================================================== Package Arch Version Repository Size
==============================================================================================================================================================================================================================Installing:
perl-Data-Dumper x86_64 2.145-3.el7 base 47 k
Transaction Summary
==============================================================================================================================================================================================================================Install 1 Package
Total download size: 47 k
Installed size: 97 k
Is this ok [y/d/N]: y
Downloading packages:
perl-Data-Dumper-2.145-3.el7.x86_64.rpm | 47 kB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : perl-Data-Dumper-2.145-3.el7.x86_64 1/1
Verifying : perl-Data-Dumper-2.145-3.el7.x86_64 1/1
Installed:
perl-Data-Dumper.x86_64 0:2.145-3.el7
Complete!
[[email protected] soft]# yum install perl perl-JSON
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package 4:perl-5.16.3-299.el7_9.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package perl-JSON.noarch 0:2.59-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================================================================== Package Arch Version Repository Size
==============================================================================================================================================================================================================================Installing:
perl-JSON noarch 2.59-2.el7 base 96 k
Transaction Summary
==============================================================================================================================================================================================================================Install 1 Package
Total download size: 96 k
Installed size: 264 k
Is this ok [y/d/N]: y
Downloading packages:
perl-JSON-2.59-2.el7.noarch.rpm | 96 kB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : perl-JSON-2.59-2.el7.noarch 1/1
Verifying : perl-JSON-2.59-2.el7.noarch 1/1
Installed:
perl-JSON.noarch 0:2.59-2.el7
Complete!
[[email protected] soft]# rpm -ivh *
warning: mysql-community-client-8.0.18-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:mysql-community-common-8.0.18-1.e################################# [ 13%]
2:mysql-community-libs-8.0.18-1.el7################################# [ 25%]
3:mysql-community-client-8.0.18-1.e################################# [ 38%]
4:mysql-community-server-8.0.18-1.e################################# [ 50%]
5:mysql-community-test-8.0.18-1.el7################################# [ 63%]
6:mysql-community-devel-8.0.18-1.el################################# [ 75%]
7:mysql-community-libs-compat-8.0.1################################# [ 88%]
8:mysql-community-embedded-compat-8################################# [100%]
[[email protected] soft]#
边栏推荐
- 天气预报小程序源码 天气类微信小程序源码
- Powerful, easy-to-use, professional editor / notebook software suitable for programmers / software developers, comprehensive evaluation and comprehensive recommendation
- Summary of SQL aggregate query method for yyds dry goods inventory
- 小鸟逃票登机,如何反思,应如何解决,飞机为何怕小鸟?
- How to turn off the boot auto start software in win11
- 运动捕捉系统原理
- Richview trvdocparameters page parameter settings
- 王者战力查询改名工具箱小程序源码-带流量主激励广告
- internship:复杂json格式数据编写接口
- tensorflow 张量做卷积,输入量与卷积核维度的理解
猜你喜欢

Big factories are wolves, small factories are dogs?

Principle of motion capture system

Myslq ten kinds of locks, an article will take you to fully analyze

leetcode刷题:栈与队列03(有效的括号)

300题线性代数 第四讲 线性方程组

目标检测——Yolo系列
![[Mysql]安装Mysql5.7](/img/c4/d7fb5ddf8e7be31f7a9ad68409e584.png)
[Mysql]安装Mysql5.7

Uniapp uses Tencent map to select points without window monitoring to return users' location information. How to deal with it

leetcode刷题:栈与队列05(逆波兰表达式求值)

极客DIY开源方案分享——数字幅频均衡功率放大器设计(实用的嵌入式电子设计作品软硬件综合实践)
随机推荐
走进如心小镇,数智化变革连接“未来社区”
2022年低压电工考试试题及答案
Principle of motion capture system
Data analysts sound tall? Understand these points before you decide whether to transform
STC 32-bit 8051 single chip microcomputer development example tutorial three program compilation setting and download
编译原理复习笔记
EDA工具对芯片产业的重要性知识科普
关于new Set( )还有哪些是你不知道的
What if win11 can't pause the update? Win11 pause update is gray. How to solve it?
[Mysql]安装Mysql5.7
Gaussdb (for MySQL):partial result cache, which accelerates the operator by caching intermediate results
Test of NSI script
Arduino stepper library drive 28byj-48 stepper motor test program
2022年高处安装、维护、拆除考题模拟考试平台操作
基于图的 Affinity Propagation 聚类计算公式详解和代码示例
Problems encountered in installing MySQL in docker Ubuntu container
2022安全员-A证考题及在线模拟考试
【let var const】
leetcode刷题:栈与队列07(滑动窗口最大值)
Écrire un document de blog