当前位置:网站首页>安装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]#
边栏推荐
- 王者战力查询改名工具箱小程序源码-带流量主激励广告
- 【多线程】 实现单例模式 ( 饿汉、懒汉 ) 实现线程安全的单例模式 (双重效验锁)
- Swiftui 4 new features complete toggle and mixed toggle multiple binding components
- 寫博客文檔
- Review notes of Zhang Haifan in introduction to software engineering (Sixth Edition)
- What if win11 can't pause the update? Win11 pause update is gray. How to solve it?
- C # joint halcon Application - Dahua Camera Collection class
- 牛客编程题--必刷101之字符串(高效刷题,举一反三)
- Big factories are wolves, small factories are dogs?
- 由浅入深学会白盒测试用例设计
猜你喜欢
Develop those things: easycvr platform adds playback address authentication function
《软件工程导论(第六版)》 张海藩 复习笔记
考虑关系的图卷积神经网络R-GCN的一些理解以及DGL官方代码的一些讲解
STC 32-bit 8051 single chip microcomputer development example tutorial three program compilation setting and download
EURA eurui E1000 series inverter uses PID to realize the relevant parameter setting and wiring of constant pressure water supply function
After adding cocoapods successfully, the header file cannot be imported or an error is reported in not found file
Realize pyramids through JS (asterisk pyramid, palindrome symmetric digital pyramid)
RichView RichEdit SRichViewEdit PageSize 页面设置与同步
2022安全员-B证考试练习题模拟考试平台操作
cocoaPods 添加成功后,导入不了头文件或者not found file 报错
随机推荐
Keras机器翻译实战
[Mysql]安装Mysql5.7
Summary of SQL aggregate query method for yyds dry goods inventory
How to connect the two nodes of the flow chart
从20s优化到500ms,我用了这三招
2022安全员-B证考试练习题模拟考试平台操作
王者战力查询改名工具箱小程序源码-带流量主激励广告
Write blog documents
Develop those things: easycvr cluster device management page function display optimization
C#聯合halcon應用——大華相機采集類
Niuke programming question -- must brush the string of 101 (brush the question efficiently, draw inferences from one instance)
STC 32-bit 8051 single chip microcomputer development example tutorial three program compilation setting and download
新牛牛盲盒微信小程序源码_支持流量变现,带完整素材图片
Uniapp uses Tencent map to select points without window monitoring to return users' location information. How to deal with it
Internship: complex JSON format data compilation interface
EDA工具对芯片产业的重要性知识科普
leetcode刷题:栈与队列03(有效的括号)
走进如心小镇,数智化变革连接“未来社区”
How to create a pyramid with openmesh
Détection des cibles - série Yolo