当前位置: 首页 > news >正文

centos7卸载openjdk-java11

[root@localhost ~]# rpm -qa|grep -i openjdk
java-11-openjdk-headless-11.0.23.0.9-2.el7_9.x86_64
java-11-openjdk-devel-11.0.23.0.9-2.el7_9.x86_64
java-11-openjdk-11.0.23.0.9-2.el7_9.x86_64# 卸载命令, yum remove 会同时卸下该包及其不再被其它已安装包依赖的包。若想同时卸掉运行时包,可一起写 yum remove -y java-11-openjdk-devel java-11-openjdk
[root@localhost ~]# yum deplist java-11-openjdk-devel
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile* base: mirrors.aliyun.com* extras: mirrors.aliyun.com* updates: mirrors.aliyun.com
base                                                                                                                                                                                                                      | 3.6 kB  00:00:00     
extras                                                                                                                                                                                                                    | 2.9 kB  00:00:00     
jenkins                                                                                                                                                                                                                   | 2.9 kB  00:00:00     
updates                                                                                                                                                                                                                   | 2.9 kB  00:00:00     
jenkins/primary_db   
.............
Warning: RPMDB altered outside of yum.Erasing    : 1:java-11-openjdk-devel-11.0.23.0.9-2.el7_9.x86_64                                                                                                                                                                            1/2 Erasing    : 1:java-11-openjdk-11.0.23.0.9-2.el7_9.x86_64                                                                                                                                                                                  2/2 Verifying  : 1:java-11-openjdk-11.0.23.0.9-2.el7_9.x86_64                                                                                                                                                                                  1/2 Verifying  : 1:java-11-openjdk-devel-11.0.23.0.9-2.el7_9.x86_64                                                                                                                                                                            2/2 Removed:java-11-openjdk.x86_64 1:11.0.23.0.9-2.el7_9                                                                         java-11-openjdk-devel.x86_64 1:11.0.23.0.9-2.el7_9                                                                        Complete!
http://www.hskmm.com/?act=detail&tid=9417

相关文章:

  • jenkins的安装和配置
  • 深入解析:【Day 52 】Linux-Jenkins
  • 本土开发者如何选择代码管理工具?Gitee与GitHub深度对比解析
  • MES系统核心组件
  • 易基因:多组学整合分析揭示DNA甲基化与基因组改变在肿瘤进化中的协同驱动机制|Nat Genet/IF29重磅
  • AI 视频模型大比拼(2025年7月版):价格、效果与分辨率
  • 为什么芯片行业需要私有化部署软件?
  • C++ std::string
  • MathType数学公式编辑器v7.9.1
  • git常见冲突场景及解决办法 - 指南
  • 有关字节的基础知识
  • strip去符号前后对比
  • 2025 ICPC网络赛第一场 L cover
  • 文件自动同步软件用哪个好,高效选择指南
  • 【初赛】指针 - Slayer
  • 国产化FPGA-2050-基于JFMK50T4(XC7A50T)的核心板
  • hbase学习2
  • 基于Python+Vue开发的健身房管理系统源码+运行步骤
  • 2025年纷享销客生态伙伴大会无锡站圆满举办!
  • 英语_阅读_digital technology_待读
  • 达梦 两个bug json 导致数据库crash 和 优化器解析or 导致结果不一样
  • MySQL迁移至GreatSQL后,timestamp字段插入报错解析
  • 2025年文件摆渡系统哪个品牌好推荐
  • Python中使用列表、map和filter函数配合lambda表达式来操作集合
  • 大模型decoder中权重矩阵的理解 - 实践
  • 文件安全外发平台用哪个,最佳选择是什么?
  • 【初赛】数 - Slayer
  • http连接(webFlux vs tomcat)
  • 英语_阅读_Generative AI_待读
  • P8500 [NOI2022] 冒泡排序 题解