ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How will remove a package installed through rpm/yum from redhat linux?

user-image
تم إضافة السؤال من قبل Muhammad Anzar , DevOps/DevSecOps Architect , Confidential
تاريخ النشر: 2015/03/29
مستخدم محذوف‎
من قبل مستخدم محذوف‎

                                     YUM

Step -1 :  yum list all                (Display the list of available packages)

Step -2 :  yum remove package (Remove / Uninstall the specified package)

 

                                         RPM

Step -1 : rpm -qa                   (Display the list of available packages)

Step -2 :  rpm -ev  package    (Remove / Uninstall the specified package)

 

Rajesh Pant
من قبل Rajesh Pant , System Engineer , Tech Mahindra Limited

For Removing pakage go through below :

A.) RPM (Red Hat Pakage Manager) Method

# rpm -e PakageName (Or # rpm --erase PakageName)

(Note : In case don't want to remove dependencies use #rpm --nodeps -e PakageName)

 

B.) YUM (Yellowdog Updater Modified) Method

# yum -e PakageNameor# yum remove PakageName

Abu Nur Muhammad Hasanul Karim
من قبل Abu Nur Muhammad Hasanul Karim , Manager-System Administration , Dhaka Stock Exchange Ltd.

Run

 

 

rpm -qa | grep -i ABCPACKAGE

 

You should then find the exact package name. Then run

 

like "ABCPACKAGE-abs-3.1.1-17.el6.x86_64"

 

command...

rpm -e <package name>

yum remove ABCPACKAGENAME

rpm -e ABCPACKAGE-abs-3.1.1-17.el6.x86_64

 

to uninstall it.

Roshan Firozkhan
من قبل Roshan Firozkhan , IT System Administrator , Emirates Driving Institute

yum remove packagename

 

rpm -e packagename

Amr Mohamed Abdo Eissa
من قبل Amr Mohamed Abdo Eissa , Senior AIX System Engineer , Data & Transaction Services

#rpm -e <package name>       for RPM

 

#yum remove <package name>     for YUM

Jerry John
من قبل Jerry John , Devops Engineer , NeST Technologies

In case of yum:

to search: yum search all <keyword>

to list packages:yum list all

to remove searched or listed package:yum remove <package name>

(care should be taken since yum take dependencies it may also remove some dependencies that is required for the functioning of other applications also)

To remove rpm : rpm  -e <Package name>

Ahsan Khan
من قبل Ahsan Khan , Database Administrator , ibex global

rpm -e package name in redhat linux platform. If you are using yum then write remove with yum.

المزيد من الأسئلة المماثلة