如何查找一个命令由哪个rpm安装&&rpm 的相关查询方法
2024-10-07 22:07:48
[root@test-can-nginx src]# which python3
/usr/bin/python3
[root@test-can-nginx src]# rpm -qf /usr/bin/python3
python34-3.4.-.el6.x86_64
[root@test-can-nginx src]# rpm -ql python34-3.4.-.el6.x86_64
/usr/bin/pydoc3
/usr/bin/pydoc3.
/usr/bin/python3
/usr/bin/python3.
/usr/bin/python3.4m
/usr/bin/pyvenv
/usr/bin/pyvenv-3.4
/usr/share/doc/python34-3.4.
/usr/share/doc/python34-3.4./LICENSE
/usr/share/doc/python34-3.4./README
/usr/share/man/man1/python3..gz
/usr/share/man/man1/python3.4.1.gz
[root@test-can-nginx src]# rpm -qa|grep python
setools-libs-python-3.3.-.el6.x86_64
policycoreutils-python-2.0.-30.1.el6_8.x86_64
rpm-python-4.8.-.el6.x86_64
newt-python-0.52.-.el6.x86_64
python34-tkinter-3.4.-.el6.x86_64
python3-rpm-macros--.el6.noarch
python34-tools-3.4.-.el6.x86_64
libsemanage-python-2.0.-5.1.el6.x86_64
python-libs-2.6.-.el6_8.x86_64
libproxy-python-0.3.-.el6.x86_64
python-urlgrabber-3.9.-.el6.noarch
python-iniparse-0.3.-2.1.el6.noarch
python34-libs-3.4.-.el6.x86_64
python-rpm-macros--.el6.noarch
libselinux-python-2.0.-.el6.x86_64
python34-devel-3.4.-.el6.x86_64
audit-libs-python-2.4.-.el6.x86_64
python-2.6.-.el6_8.x86_64
python-pycurl-7.19.-.el6.x86_64
python34-3.4.-.el6.x86_64
python-srpm-macros--.el6.noarch
[root@test-can-nginx src]# rpm -qi python34-3.4.-.el6.x86_64
Name : python34 Relocations: (not relocatable)
Version : 3.4. Vendor: Fedora Project
Release : .el6 Build Date: Mon Apr :: PM CST
Install Date: Mon Aug :: PM CST Build Host: buildvm-.phx2.fedoraproject.org
Group : Development/Languages Source RPM: python34-3.4.-.el6.src.rpm
Size : License: Python
Signature : RSA/, Mon Apr :: PM CST, Key ID 3b49df2a0608b895
Packager : Fedora Project
URL : http://www.python.org/
Summary : Version of the Python programming language aka Python
Description :
Python is a new version of the language that is incompatible with the .x
line of releases. The language is mostly the same, but many details, especially
how built-in objects like dictionaries and strings work, have changed
considerably, and a lot of deprecated features have finally been removed.
最新文章
- Django基础,Day3 - 编写 django admin
- Request.Form接收不到post数据.
- 移动web开发问题集
- WPF 虚拟键盘
- HMM 自学教程(四)隐马尔科夫模型
- c实现的iOS http下载类。支持自己设定http 头(比如cookie等)
- GLSL 基础量定义
- linux 清空文件内容命令
- 通过html5的range属性动态改变图片的大小
- Redis配置文件分析
- codevs 4650 破损的键盘(链表)
- python刷取CSDN博文访问量之四
- 在Ceph创建虚拟机的过程改进分析
- ajax跨域之---服务器端代理实现
- UML建模之时序图(Sequence Diagram)
- Java IO(三)
- Top K Frequent Words
- C#修改文件名方法
- [No0000C9]神秘的掐指一算是什么?教教你也会
- CentOS 6.5 伪分布安装