CentOS yum 패키지 삭제

1 개요[편집]

yum 삭제
yum으로 삭제하기
  • yum을 삭제하는 것이 아니라, yum으로 다른 패키지를 삭제하는 것

2 설치 확인[편집]

[root@zetawiki ~]# yum list installed java*jdk
... (생략)
Installed Packages
java-1.7.0-openjdk.x86_64            1:1.7.0.9-2.3.3.el5.1             installed
→ java-1.7.0-openjdk.x86_64 패키지가 설치되어 있음

3 삭제[편집]

[root@zetawiki ~]# yum remove java-1.7.0-openjdk.x86_64
... (생략)
================================================================================
 Package                    Arch     Version                  Repository   Size
================================================================================
Removing:
 java-1.7.0-openjdk         x86_64   1:1.7.0.9-2.3.3.el5.1    installed    52 M
Removing for dependencies:
 java-1.7.0-openjdk-devel   x86_64   1:1.7.0.9-2.3.3.el5.1    installed    26 M

Transaction Summary
================================================================================
Remove        2 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]:
y Enter
... (생략)
Removed:
  java-1.7.0-openjdk.x86_64 1:1.7.0.9-2.3.3.el5.1                               

Dependency Removed:
  java-1.7.0-openjdk-devel.x86_64 1:1.7.0.9-2.3.3.el5.1                         

Complete!

4 재확인[편집]

[root@zetawiki ~]# yum list installed java*jdk
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: No matching Packages to list
→ 삭제되어 없음

5 같이 보기[편집]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}