LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-13-2003, 10:08 PM   #1
iamthewind
Member
 
Registered: Sep 2003
Posts: 51

Rep: Reputation: 15
how to uninstall a binary software??


I have look over the rpm --help
but I can't found how to uninstall a binary software?
help!
 
Old 10-13-2003, 10:13 PM   #2
nidua18
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
try rpm -e <package name>
 
Old 10-13-2003, 10:15 PM   #3
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
rpm -e <package name>

package name is not the filename of the *.rpm file you clicked on to install it, although more often than not, the package name is part of the *.rpm filename. to find a package name try:

rpm -qa | grep "<possible package name>"

for instance i installed xine libraries using this rpm package - libxine1-1_rc0a-0.i386.rpm

i want to uninstall it, but don't know what the exact package name is.

rpm -qa | grep "xine"

the output:

xine-libs-0.9.13-fr2
xine-libs-devel-0.9.13-fr2
xine-mozilla-plugin-0.2-030921
xine-ui-0.9.22-1
libxine1-1_rc0a-0
xine-dvdnav-0.9.13-0
xinetd-2.3.11-1.7x
libxine1-devel-1_rc0a-0

package i want to uninstall is libxine1-1_rc0a-0 which was is like libxine1-1_rc0a-0.i386.rpm minus the .i386.rpm

then uninstall using:

rpm -e libxine1-1_rc0a-0

edit: edit rpm -e command due to brain deadness

Last edited by megaspaz; 10-13-2003 at 10:49 PM.
 
Old 10-13-2003, 10:45 PM   #4
iamthewind
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
Thank you for your help:but still have problem :
I use rpm -qi qq4gaim ,It returned qq4gaim's all information
so ,I think it must be installed
But when I am using "rpm -e " It told me that the package is not installed
then ,I look over it's package information ,it's file name is ***.src.rpm . So ,I think may be I have installed it ,but not build it
then another problem occurs : when I am using command :
££rpmbuild -bb ****.spec
it told me no such command !
why ??
 
Old 10-13-2003, 10:51 PM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by iamthewind
Thank you for your help:but still have problem :
I use rpm -qi qq4gaim ,It returned qq4gaim's all information
so ,I think it must be installed
But when I am using "rpm -e " It told me that the package is not installed
then ,I look over it's package information ,it's file name is ***.src.rpm . So ,I think may be I have installed it ,but not build it
then another problem occurs : when I am using command :
££rpmbuild -bb ****.spec
it told me no such command !
why ??
can you post the output of every command you used and the distro you're using?
 
Old 10-14-2003, 02:25 AM   #6
iamthewind
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
# rpm -ivh telnet-0.17-25-src.rpm this successful
# cd /usr/src/redhat/SPECS
# rpmbuild -bb telnet.spec the reply is :
bash: rpmbuild: command not found
I am a newer , can u tell me how to install package which named *.src.rpm ??
thanks !!
 
Old 10-14-2003, 09:08 AM   #7
jhaprins
Member
 
Registered: Jun 2003
Distribution: RedHat
Posts: 48

Rep: Reputation: 15
rpmbuild

Try the following:
# rpm --rebuild telnet-0.17-25-src.rpm

This should probebly work for your distribution.
Otherwise, try to find if rpmbuild is somewhere in your path.

Try:
#which rpmbuild
 
Old 10-14-2003, 09:54 PM   #8
iamthewind
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
thanks for your help ,
but ...... I am quiet sorry,,
"# which rpmbuild" is no use,can't found
:no rpmbuild in ( usr/local/sbin:/usr/local/bin:/sbin..................)
and..
if I input # rpmbuild ...... It reply to me :command not found
if I input # rpm ---rebuild ......It reply to me: unknown option
if I input # rpm -rebuild .........It reply to me :rpm: arguments to --root (-r) must begin with a /

I really don't know what should I do !!
 
Old 10-14-2003, 10:00 PM   #9
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
are you logged in as root while doing this (the "su" command)? rpm --rebuild creates files in the "/" directory. for redhat, it's usually in /usr/src/redhat/ RPMS. this directory requires root access to write to it.

rpm --rebuild should work just fine.

can you post the output of "rpm -v --rebuild telnet*.src.rpm" ?

Last edited by megaspaz; 10-14-2003 at 10:03 PM.
 
  


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
How to uninstall software! oliverkazaam41 Linux - Newbie 2 09-19-2005 06:04 PM
how to uninstall a software :King_58: Linux - Newbie 16 10-01-2004 03:00 PM
mysql binary uninstall steps... tuka Linux - Newbie 2 09-15-2003 04:33 AM
how to uninstall a software puru_09 Linux - Software 2 12-02-2002 11:04 PM
how to uninstall software? croger Linux - Software 2 05-11-2002 08:20 AM

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

All times are GMT -5. The time now is 08:35 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