Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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 ??
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?
# 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 !!
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 /
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" ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.