查找mariadb 依赖
# 查找mariadb 依赖
[root@master ~]# yum deplist mariadb > ./1.txt
[root@master ~]# grep -E "provider:" ./1.txt | cut -f1 -d "." | cut -f2 -d ":" | sort | uniq
bash
chkconfig
coreutils
glibc
grep
libstdc++
mariadb-libs
ncurses-libs
openssl-libs
perl
perl-Exporter
perl-File-Temp
perl-Getopt-Long
systemd
zlib