FedoraThis forum is for the discussion of the Fedora Project.
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.
maybe i'm just having a stupid moment but i installed a source rpm (rpm -Uvh srcfile.rpm) and now i can't find where the heck it went!! i tried reinstalling thinking maybe something went wrong but it says its already installed.. anyone?
it'll be in /usr/src/Redhat/SRPMS or somethign very similar. note that this IS the source code, not a program, and you'll trypically not install it, but build another binary RPM from it, using erm... rpm --rebuild or something... i forget.
There is a SPECS directory where the spec file of the source package goes. The source and patches go in the SOURCES directory.
You use the rpmbuild command to build a new src.rpm or a regular rpm, or to install, depending on which option you use.
If you build a compiled rpm package, it will go into the RPM directory. Suppose that you made some changes to the source. You can repackage a source rpm. The source rpm that you produce goes into the SRPMS directory.
cd /usr/src/redhat/SPECS/
rpmbuild -bi packagename.spec
This will apply the patches, build the application and install it.
I've used rpmbuild -bp to apply patches, and then, after extracting the source tarball, produced postscript documentation from the .texi source.
uhm its bittorrent
i know it doesn't say .src.rpm or whatever but thats what they call it
also when it installed in the instructions it says to open some files with python but i don't have those files
If it doesn't say .src.rpm at the end then it is not a source rpm it is a binary rpm. If it were a source rpm it would be where jshiwal mentioned. Try this command substituting the bittorent package you installed.
Code:
rpm -qlp bittorrent-3.3-0.fdr.1.rh73.noarch.rpm
It will list the full pathname for each file that was installed by that package. If it is the bittorent I'm thinking of there will be a lot of python programs put in /usr/bin starting with bt*. Since python is an interpreted language these are source code, but the rpm is not considered a 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.