查找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

posted @ 2021-04-19 15:56  1769987233  阅读(126)  评论(0编辑  收藏  举报