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

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

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

APT 意为高级打包工具Advanced Packaging Tool,就像 DNF 将如何替代 YUM 一样,APT 是 apt-get 的替代物。它功能丰富的命令行工具包括了如下所有命令的功能如 apt-cacheapt-searchdpkgapt-cdromapt-configapt-key 等等,我们可以方便的通过 apt 来安装 .dpkg 包,但是我们却不能通过 apt-get 来完成这一点,还有一些其他的类似的功能也不能用 apt-get 来完成,所以 apt-get 因为没有解决上述功能缺乏的原因而被 apt 所取代。

(LCTT 译注: 用 apt show 查看 nano 包信息)

  1. $ apt show nano
  2. Package: nano
  3. Version: 2.8.6-3
  4. Priority: standard
  5. Section: editors
  6. Origin: Ubuntu
  7. Maintainer: Ubuntu Developers
  8. Original-Maintainer: Jordi Mallach
  9. Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  10. Installed-Size: 766 kB
  11. Depends: libc6 (>= 2.14), libncursesw5 (>= 6), libtinfo5 (>= 6)
  12. Suggests: spell
  13. Conflicts: pico
  14. Breaks: nano-tiny (<< 2.8.6-2)
  15. Replaces: nano-tiny (<< 2.8.6-2), pico
  16. Homepage: https://www.nano-editor.org/
  17. Task: standard, ubuntu-touch-core, ubuntu-touch
  18. Supported: 9m
  19. Download-Size: 222 kB
  20. APT-Manual-Installed: yes
  21. APT-Sources: http://in.archive.ubuntu.com/ubuntu artful/main amd64 Packages
  22. Description: small, friendly text editor inspired by Pico
  23. GNU nano is an easy-to-use text editor originally designed as a replacement
  24. for Pico, the ncurses-based editor from the non-free mailer package Pine
  25. (itself now available under the Apache License as Alpine).
  26. .
  27. However, GNU nano also implements many features missing in pico, including:
  28. - undo/redo
  29. - line numbering
  30. - syntax coloring
  31. - soft-wrapping of overlong lines
  32. - selecting text by holding Shift
  33. - interactive search and replace (with regular expression support)
  34. - a go-to line (and column) command
  35. - support for multiple file buffers
  36. - auto-indentation
  37. - tab completion of filenames and search terms
  38. - toggling features while running
  39. - and full internationalization support

dpkg 命令:查看Debian/Ubuntu/Mint系统上的包信息

(编辑:辽源站长网)

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

推荐文章
    热点阅读