Re: installing source rpm packages (.src.rpm) via yum and yumex?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-02-06 at 16:28 -0600, Gabriel M. Elder wrote:
> I've spent some time trying to find a way to install source rpms from
> the source repos using yum and yumex, thus far to no avail. The various
> internet search engines didn't turn up anything really useful regarding
> this.
> 
> I've enabled the fedora-source repository by manually editing
> the /etc/yum.repos.d/fedora.repo file. I came across a suggestion to add
> the line: "repo_exclude =" to /etc/yumex.conf, which allows all repos to
> be listed in the "Repository Selection View" in yumex. I was surprised
> to learn that yumex does not show the source and debuginfo repos in this
> list by default, even if they are enabled.
> 
> I've checked out the man page, but apparently there is no command-line
> option for yum to tell it to install a given source package. Nor have I
> been able to find any sort of gui control in yumex that would assist me
> towards this end. Pirut doesn't seem to offer this feature, either.
> 
> This is almost making me want to use apt (which seems faster overall,
> anyway).
> 
> So... what am I missing here, folks? Is it possible to install a source
> rpm from a source repo via yum or yumex? If so, how? Has this capability
> just not been implemented yet? Or should i just wget what i need and
> forget about using yum to fetch sources?
> 
> tia,
> - gabriel
> 
yum will not install source rpms as far as I know. You can download the
src rpm: x.src.rpm
then run: rpm -i x.src.rpm 
which will put a file : x.spec in /usr/src/redhat/SPECS
Then run: rpmbuild -bb x.spec
which will put a rpm: x.rpm in /usr/src/redhat/RPMS
That rpm can be installed as usual: rpm -i x.rpm
--
=======================================================================
Beauty is one of the rare things which does not lead to doubt of God. --
Jean Anouilh
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux