LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2013, 02:00 AM   #1
AbidDhanaiser
Member
 
Registered: May 2013
Location: Faisalabad, Pakistan
Posts: 72

Rep: Reputation: Disabled
have problem using [B]rpm -e software name[/B]


have problem using rpm -e software name

also showing attachment

when give command rpm -e software name ,got message not installed
but when try to install same software then get message that already installed.
Attached Thumbnails
Click image for larger version

Name:	123.png
Views:	18
Size:	28.7 KB
ID:	12636  
 
Old 06-01-2013, 02:52 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Installed packages ...
How to know the package name used in your rpm data base :

$ rpm -qa <name> : $ rpm -qa zsh
$ rpm -qa | grep <name> (or part of name)

These names can be used for "removing" : zsh and zsh-4.2.6-3.el5

Please use the most simple : # yum remove zsh ( Or # rpm -e zsh ).

-

Last edited by knudfl; 06-01-2013 at 02:55 AM.
 
Old 06-01-2013, 04:29 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
It is best to use "yum" on CentOS to remove and install software .

you really ONLY need to use "rpm" to install a software repo

as above
Code:
su -
yum install zsh
--- or ---
yum remove zsh
you might also need to rebuild the yum and rpm database

Code:
su -
yum clean all
rpm --rebuilddb 
yum update
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RPM software manager upgrade from v4.4.2 to 4.9.0 database import problem on RHEL5 quophyie Linux - Newbie 4 06-30-2011 12:44 PM
Uninstalling a software problem - rpm's paul123 Linux - Newbie 4 03-25-2007 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration