Bo's Oracle Station

查看: 1284|回复: 0

红帽8的dnf注意事项

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2020-11-9 20:59:17 | 显示全部楼层 |阅读模式

1. 由于在默认的发行版本中,有50个软件的分支选择,所以在安装软件的时候建议先执行:

  1. [root@classroom conf]#dnf module list
  2. Updating Subscription Management repositories.
  3. Unable to read consumer identity
  4. This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
  5. Last metadata expiration check: 0:08:25 ago on Tue 10 Nov 2020 04:41:06 AM CST.
  6. AppStream
  7. Name Stream Profiles Summary
  8. 389-ds 1.4 [e] 389 Directory Server (base)
  9. ant 1.10 [d][e] common [d] Java build tool
  10. container-tools 1.0 common [d] Common tools and dependencies for container runtimes
  11. container-tools rhel8 [d][e] common [d] Common tools and dependencies for container runtimes
  12. freeradius 3.0 [d] server [d] High-performance and highly configurable free RADIUS server
  13. gimp 2.8 [d][e] common [d], devel gimp module
  14. go-toolset rhel8 [d] common [d] Go
  15. httpd 2.4 [d][e] common [d] [i], devel, minimal Apache HTTP Server
  16. idm DL1 [e] common [d], adtrust, client, dns [i], server The Red Hat Enterprise Linux Identity Management system module
  17. idm client [d] common [d] RHEL IdM long term support client module
  18. inkscape 0.92.3 [d] common [d] Vector-based drawing program using SVG
  19. javapackages-runtime 201801 [d][e] common [d] Basic runtime utilities to support Java applications
  20. libselinux-python 2.8 common Python 2 bindings for libselinux
  21. llvm-toolset rhel8 [d][e] common [d] LLVM
  22. mailman 2.1 [d] common [d] Electronic mail discussion and e-newsletter lists managing software
  23. mariadb 10.3 [d][e] client, server [d], galera MariaDB Module
  24. maven 3.5 [d][e] common [d] Java project management and project comprehension tool
  25. mercurial 4.8 [d] common [d] Mercurial -- a distributed SCM
  26. mod_auth_openidc 2.3 Apache module suporting OpenID Connect authentication
  27. mysql 8.0 [d] client, server [d] MySQL Module
  28. nginx 1.14 [d] common [d] nginx webserver
  29. nodejs 10 [d] common [d], development, minimal, s2i Javascript runtime
  30. parfait 0.5 common Parfait Module
  31. perl 5.24 common [d], minimal Practical Extraction and Report Language
  32. perl 5.26 [d][e] common [d] [i], minimal Practical Extraction and Report Language
  33. perl-App-cpanminus 1.7044 [d][e] common [d] Get, unpack, build and install CPAN modules
  34. perl-DBD-MySQL 4.046 [d][e] common [d] A MySQL interface for Perl
  35. perl-DBD-Pg 3.7 [d][e] common [d] A PostgreSQL interface for Perl
  36. perl-DBD-SQLite 1.58 [d][e] common [d] SQLite DBI driver
  37. perl-DBI 1.641 [d][e] common [d] A database access API for Perl
  38. perl-FCGI 0.78 [d][e] common [d] FastCGI Perl bindings
  39. perl-YAML 1.24 [d][e] common [d] Perl parser for YAML
  40. php 7.2 [d] common [d], devel, minimal PHP scripting language
  41. pki-core 10.6 [e] PKI Core
  42. pki-deps 10.6 [e] PKI Dependencies
  43. postgresql 10 [d][e] client, server [d] PostgreSQL server and client module
  44. postgresql 9.6 client, server [d] PostgreSQL server and client module
  45. python27 2.7 [d][e] common [d] Python programming language, version 2.7
  46. python36 3.6 [d][e] common [d], build Python programming language, version 3.6
  47. redis 5 [d] common [d] Redis persistent key-value database
  48. rhn-tools 1.0 [d] common [d] Red Hat Satellite 5 tools for RHEL
  49. ruby 2.5 [d] common [d] An interpreter of object-oriented scripting language
  50. rust-toolset rhel8 [d] common [d] Rust
  51. satellite-5-client 1.0 [d][e] common [d], gui Red Hat Satellite 5 client packages
  52. scala 2.10 [d] common [d] A hybrid functional/object-oriented language for the JVM
  53. squid 4 [d][e] common [d] Squid - Optimising Web Delivery
  54. subversion 1.10 [d][e] common [d], server Apache Subversion
  55. swig 3.0 [d][e] common [d], complete Connects C/C++/Objective C to some high-level programming languages
  56. varnish 6 [d] common [d] Varnish HTTP cache
  57. virt rhel [d][e] common [d] Virtualization module

  58. Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
  59. [root@classroom conf]# dnf module list | wc -l
  60. 58
  61. [root@classroom conf]#
复制代码
2. 真正是有选择余地的是:
  1. [root@classroom conf]# dnf module list | cut -d ' ' -f 1 | tail -n +7 | uniq -c | grep '\<2\>
  2.       2 container-tools
  3.       2 idm
  4.       2 perl
  5.       2 postgresql
复制代码
3.  如果卸载过module中的流分支,它仍然会处于enable状态。务必要:
  1. dnf module reset perl
复制代码




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-5-20 11:04 , Processed in 0.033007 second(s), 24 queries .

快速回复 返回顶部 返回列表