11. yum 패키지 관리
페이지 정보
작성자 관리자 댓글 0건 조회 3,023회 작성일 22-02-04 18:05본문
11. yum 패키지 관리
yum으로 패키지 삭제
설치확인
[root@localhost ~]# yum list installed mongo*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.navercorp.com
* epel: ftp.iij.ad.jp
* extras: mirror.navercorp.com
* updates: mirror.navercorp.com
Installed Packages
mongo-cxx-driver.x86_64 1.0.5-1.el7 @epel
mongo-cxx-driver-devel.x86_64 1.0.5-1.el7 @epel
mongodb.x86_64 2.6.12-6.el7 @epel
mongodb-server.x86_64 2.6.12-6.el7 @epel
[root@localhost ~]#
삭제하기
[root@localhost ~]# yum remove mongo*
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package mongo-cxx-driver.x86_64 0:1.0.5-1.el7 will be erased
---> Package mongo-cxx-driver-devel.x86_64 0:1.0.5-1.el7 will be erased
---> Package mongodb.x86_64 0:2.6.12-6.el7 will be erased
---> Package mongodb-server.x86_64 0:2.6.12-6.el7 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
mongo-cxx-driver x86_64 1.0.5-1.el7 @epel 1.4 M
mongo-cxx-driver-devel x86_64 1.0.5-1.el7 @epel 600 k
mongodb x86_64 2.6.12-6.el7 @epel 131 M
mongodb-server x86_64 2.6.12-6.el7 @epel 20 M
Transaction Summary
================================================================================
Remove 4 Packages
Installed size: 153 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : mongo-cxx-driver-devel-1.0.5-1.el7.x86_64 1/4
Erasing : mongo-cxx-driver-1.0.5-1.el7.x86_64 2/4
Erasing : mongodb-server-2.6.12-6.el7.x86_64 3/4
Erasing : mongodb-2.6.12-6.el7.x86_64 4/4
Verifying : mongodb-2.6.12-6.el7.x86_64 1/4
Verifying : mongo-cxx-driver-devel-1.0.5-1.el7.x86_64 2/4
Verifying : mongodb-server-2.6.12-6.el7.x86_64 3/4
Verifying : mongo-cxx-driver-1.0.5-1.el7.x86_64 4/4
Removed:
mongo-cxx-driver.x86_64 0:1.0.5-1.el7
mongo-cxx-driver-devel.x86_64 0:1.0.5-1.el7
mongodb.x86_64 0:2.6.12-6.el7
mongodb-server.x86_64 0:2.6.12-6.el7
Complete!
[root@localhost ~]#
댓글목록
등록된 댓글이 없습니다.