用yum查看包的内容

用yum查看包的内容

1.安装yum-utils包

yum install -y yum-utils

2.查看包的内容

执行repoquery -qlis --provides --location <包名>,就能查到指定的包内的文件列表
其中:

  • provides显示软件(x86和x64)的版本号
  • location显示下载的URL

pcre为例说明:
repoquery -qlis --provides --location pcre
输出如下:

Name        : pcre
Version     : 8.32
Release     : 17.el7
Architecture: i686  ----这里是X86架构的包,X86_64的包在后面
Size        : 1496060
Packager    : CentOS BuildSystem <http://bugs.centos.org>
Group       : System Environment/Libraries
URL         : http://www.pcre.org/
Repository  : base
Summary     : Perl-compatible regular expression library
Source      : pcre-8.32-17.el7.src.rpm
Description :
Perl-compatible regular expression library.
PCRE has its own native API, but a set of "wrapper" functions that are based on
the POSIX API are also supplied in the library libpcreposix. Note that this
just provides a POSIX calling interface to PCRE: the regular expressions
themselves still follow Perl syntax and semantics. The header file
for the POSIX-style functions is called pcreposix.h.
libpcre.so.1
libpcre16.so.0
libpcre32.so.0
libpcrecpp.so.0
libpcreposix.so.0
pcre = 8.32-17.el7 --版本
pcre(x86-32) = 8.32-17.el7
#以下是包内的文件列表
/usr/lib/libpcre.so.1
/usr/lib/libpcre.so.1.2.0
/usr/lib/libpcre16.so.0
/usr/lib/libpcre16.so.0.2.0
/usr/lib/libpcre32.so.0
/usr/lib/libpcre32.so.0.0.0
/usr/lib/libpcrecpp.so.0
/usr/lib/libpcrecpp.so.0.0.0
/usr/lib/libpcreposix.so.0
/usr/lib/libpcreposix.so.0.0.1
/usr/share/doc/pcre-8.32
/usr/share/doc/pcre-8.32/AUTHORS
/usr/share/doc/pcre-8.32/COPYING
/usr/share/doc/pcre-8.32/ChangeLog
/usr/share/doc/pcre-8.32/LICENCE
/usr/share/doc/pcre-8.32/NEWS
/usr/share/doc/pcre-8.32/README
#下面是下载的地址
http://mirrors.njupt.edu.cn/centos/7.5.1804/os/x86_64/Packages/pcre-8.32-17.el7.i686.rpm

#以下是X86_64架构的包
Name        : pcre
Version     : 8.32
Release     : 17.el7
Architecture: x86_64
Size        : 1475532
Packager    : CentOS BuildSystem <http://bugs.centos.org>
Group       : System Environment/Libraries
URL         : http://www.pcre.org/
Repository  : base
Summary     : Perl-compatible regular expression library
Source      : pcre-8.32-17.el7.src.rpm
Description :
Perl-compatible regular expression library.
PCRE has its own native API, but a set of "wrapper" functions that are based on
the POSIX API are also supplied in the library libpcreposix. Note that this
just provides a POSIX calling interface to PCRE: the regular expressions
themselves still follow Perl syntax and semantics. The header file
for the POSIX-style functions is called pcreposix.h.
libpcre.so.1()(64bit)
libpcre16.so.0()(64bit)
libpcre32.so.0()(64bit)
libpcrecpp.so.0()(64bit)
libpcreposix.so.0()(64bit)
pcre = 8.32-17.el7
pcre(x86-64) = 8.32-17.el7
/usr/lib64/libpcre.so.1
/usr/lib64/libpcre.so.1.2.0
/usr/lib64/libpcre16.so.0
/usr/lib64/libpcre16.so.0.2.0
/usr/lib64/libpcre32.so.0
/usr/lib64/libpcre32.so.0.0.0
/usr/lib64/libpcrecpp.so.0
/usr/lib64/libpcrecpp.so.0.0.0
/usr/lib64/libpcreposix.so.0
/usr/lib64/libpcreposix.so.0.0.1
/usr/share/doc/pcre-8.32
/usr/share/doc/pcre-8.32/AUTHORS
/usr/share/doc/pcre-8.32/COPYING
/usr/share/doc/pcre-8.32/ChangeLog
/usr/share/doc/pcre-8.32/LICENCE
/usr/share/doc/pcre-8.32/NEWS
/usr/share/doc/pcre-8.32/README
http://mirrors.njupt.edu.cn/centos/7.5.1804/os/x86_64/Packages/pcre-8.32-17.el7.x86_64.rpm
本固件为老多看0520的版本,适用Kindle3 WIFI版本,其他版本因为没有机子测试过,所以3G+WIFI版本刷入请慎重。 刷机有风险,本来只是想提供资源就跑,想想伸手党,唉,还是写个说明吧。 ***********************友情提示:在操作之前请备份你的电纸书。************************************************** 【机子固件是新版本多看的请看】 1.这是老多看的0520版本,个人推荐0520的版本。 2.先进入多看设置-【关于多看】-选择【系统卸载】,等待卸载完毕,机子会重启。 3.重启后会进入原生系统。在原生系统下按【Menu】键--【Settings】--再按一次【Menu】--选择【Restart】,此时按住Home键不动,然后直到进入重置界面。 4.重置界面会提示你输入【RESET】,请按照提示输入--进入了RE界面,提示你输入【R】。 5.之后就会重置成功。 现在请插线连接电脑,清空【documents】文件夹。复制【DK_Documents,DK_Pictures,DK_System】三个文件夹和三个【update开头】的bin文件到机子的根目录。 6.断开连接。按【Menu】--选择【Settings】--选择【update your kindle】←←这个选项灰白?请选择【Restart】,再来操作。 7.出现进度条,等待6-8分钟,成功会有【Sucess√】提示的字眼,机子就会重启。 8.老多看界面出现。刷机完成。 PS:干净卸载过程请参考附带的doc文件,有图解。 ***************************************************************************************************************** 【机子固件是越狱的请看】 ################怎么看自己是不是越狱版本?这个请百度。由于我不是越狱的机子,所以下面的方法说明来源自麦兜电纸书论坛################### 1.卸载原多看系统 2.备份书籍,保证documents文件夹空白 3.复制三个文件夹到kindle根目录 4. a,修改emergency.sh 将其中的duokaninstall改为install,按menu键尝试系统升级,重启。进成功入则不用考虑下步。 b.若不成功,删除emergency.sh文件,复制*.bin三个文件到根目录,尝试升级。 我的k3 3.3版本,装的多看2013.卸载2013版多看后,按上述操作,成功进入0520版多看。 PS:上面说的emergency.sh文件我会另外提供,供伸手党使用,但是不保证和多看官方的一致,想确保一致性请自行到多看论坛【http://www.miui.com/forum-490-1.html】下载。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值