[Command]rpm

2020. 6. 11. 09:00OS/Linux

[S/W 확인]

# rpm -qa | grep -i firefox
firefox-10.0.5-1.el6_2.x86_64

 

[S/W 삭제]

# rpm -e firefox-10.0.5-1.el6_2.x86_64

 

[S/W 삭제시 특이사항]

1. rpm 삭제 명령어를 친다.

# rpm -e firefox-10.0.5-1.el6_2.x86_64
error: Failed dependencies:
firefox is needed by (installed) spice-xpi-2.7-20.el6.x86_64 => 종속된 S/W

2. 삭제하고자 하는 rpm의 상세 정보를 확인한다.

# rpm -qi spice-xpi-2.7-20.el6.x86_64
Name : spice-xpi Relocations: (not relocatable)
Version : 2.7 Vendor: Red Hat, Inc.
Release : 20.el6 Build Date: Wed 23 May 2012 01:06:37 AM KST
Install Date: Tue 13 Aug 2013 11:43:12 AM KST Build Host: x86-004.build.bos.redhat.com
Group : Applications/Internet Source RPM: spice-xpi-2.7-20.el6.src.rpm
Size : 164087 License: GPLv2+
Signature : RSA/8, Thu 24 May 2012 02:49:22 PM KST, Key ID 199e2f91fd431d51
Packager : Red Hat, Inc.
URL : http://www.redhat.com/
Summary : SPICE extension for Mozilla
Description :
SPICE extension for mozilla allows the client to be used from a web browser.

3. 종속된 rpm을 먼저 삭제 처리 한다.

# rpm -e spice-xpi-2.7-20.el6.x86_64

4. 삭제 하고자 하는 rpm을 삭제 한다.

# rpm -e firefox-10.0.5-1.el6_2.x86_64

728x90

'OS > Linux' 카테고리의 다른 글

[Command]iptables  (0) 2020.06.11
[Command]nfs/cifs  (0) 2020.06.11
[장애대처]Hardware 오류2  (0) 2020.06.11
[Command]telnet  (0) 2020.06.11
[장애대처]Hardware 오류  (0) 2020.06.11