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.
well try it with rpm -ivh instead of rpm -Uvh, and maybe also try to do rpmbuild --rebuild filename.src.rpm, and if you still have problem persisting, just go ahead and su to root and make the directory structure /usr/src/redhat/SOURCES manually, and then try rpm -ivh filename.src.rpm...post back if you still have problems..
run by rpm -ivh command. same error message appear.
so, After make the directory structure /usr/src/redhat/SOURCES manually. next, run the command in shell prompt
[root@localhost root]# rpm -ivh gcc-3.2.2-5.src.rpm
warning: gcc-3.2.2-5.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
1:gcc ########################################### [100%]
to check install for the gcc
[root@localhost root]# rpm -q gcc
package gcc is not installed
why package gcc is not installed??
cause its a source file, so it put it in the directory that you just made, that you were getting errors with...
if you just wanted it to install from the get go, then you would have to get an rpm that looked like:
gcc-3.2.2-5.rpm
rather than
gcc-3.2.2-5.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.