加入收藏 | 设为首页 | 会员中心 | 我要投稿 辽源站长网 (https://www.0437zz.com/)- 云专线、云连接、智能数据、边缘计算、数据安全!
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

如何在Linux上检查一个软件包的详细信息

发布时间:2018-09-20 09:40:27 所属栏目:Windows 来源:Prakash Subramanian
导读:【新品产上线啦】51CTO播客,随时随地,碎片化学习 我们可以就这个已经被广泛讨论的话题写出大量的文章,大多数情况下,因为各种各样的原因,我们都愿意让 包管理器 package manager 来帮我们做这些事情。 每个 Linux 发行版都有自己的包管理器,并且每个都

RPM 英文直译为“红帽包管理器Red Hat Package Manager”,这是一个在 RedHat 以及其变种发行版(如RHEL、CentOS、Fedora、openSUSE、Megeia)下的功能强大的命令行包管理工具。它能让你轻松的安装、升级、删除、查询以及校验你的系统或服务器上的软件。RPM 文件以 .rpm 结尾。RPM 包由它所依赖的软件库以及其他依赖构成,它不会与系统上已经安装的包冲突。

(LCTT 译注:用 rpm -qi 查询 nano 包的具体信息)

  1. # rpm -qi nano
  2. Name : nano Relocations: (not relocatable)
  3. Version : 2.0.9 Vendor: CentOS
  4. Release : 7.el6 Build Date: Fri 12 Nov 2010 02:18:36 AM EST
  5. Install Date: Fri 03 Mar 2017 08:57:47 AM EST Build Host: c5b2.bsys.dev.centos.org
  6. Group : Applications/Editors Source RPM: nano-2.0.9-7.el6.src.rpm
  7. Size : 1588347 License: GPLv3+
  8. Signature : RSA/8, Sun 03 Jul 2011 12:46:50 AM EDT, Key ID 0946fca2c105b9de
  9. Packager : CentOS BuildSystem
  10. URL : http://www.nano-editor.org
  11. Summary : A small text editor
  12. Description :
  13. GNU nano is a small and friendly text editor.

DNF 命令:在 Fedora 系统上查看包信息

DNF 指“时髦版的 YumDandified yum”,我们也可以认为 DNF 是下一代的 yum 包管理器(Yum 的一个分支),它在后台使用了 hawkey/libsolv 库。Aleš Kozumplík 在Fedora 18 上开始开发 DNF,在 Fedora 22 上正式最后发布。 dnf 命令用来在 Fedora 22 及以后的系统上安装、更新、搜索以及删除包。它能自动的解决包安装过程中的包依赖问题。

(LCTT 译注: 用 dnf info 查看 tilix 包信息)

  1. $ dnf info tilix
  2. Last metadata expiration check: 27 days, 10:00:23 ago on Wed 04 Oct 2017 06:43:27 AM IST.
  3. Installed Packages
  4. Name : tilix
  5. Version : 1.6.4
  6. Release : 1.fc26
  7. Arch : x86_64
  8. Size : 3.6 M
  9. Source : tilix-1.6.4-1.fc26.src.rpm
  10. Repo : @System
  11. From repo : @commandline
  12. Summary : Tiling terminal emulator
  13. URL : https://github.com/gnunn1/tilix
  14. License : MPLv2.0 and GPLv3+ and CC-BY-SA
  15. Description : Tilix is a tiling terminal emulator with the following features:
  16. :
  17. : - Layout terminals in any fashion by splitting them horizontally or vertically
  18. : - Terminals can be re-arranged using drag and drop both within and between
  19. : windows
  20. : - Terminals can be detached into a new window via drag and drop
  21. : - Input can be synchronized between terminals so commands typed in one
  22. : terminal are replicated to the others
  23. : - The grouping of terminals can be saved and loaded from disk
  24. : - Terminals support custom titles
  25. : - Color schemes are stored in files and custom color schemes can be created by
  26. : simply creating a new file
  27. : - Transparent background
  28. : - Supports notifications when processes are completed out of view
  29. :
  30. : The application was written using GTK 3 and an effort was made to conform to
  31. : GNOME Human Interface Guidelines (HIG).

Zypper 命令:在 openSUSE 系统上查看包信息

zypper 是一个使用 libzypp 库的命令行包管理器。zypper 提供诸如软件仓库访问,安装依赖解决,软件包安装等等功能。

(编辑:辽源站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

推荐文章
    热点阅读