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:41 -0600, Aaron Konstam wrote:
> 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
> --
Well I guess I am wrong but I don't understand Rahul's procedure.
--
=======================================================================
U X e dUdX, e dX, cosine, secant, tangent, sine, 3.14159...
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux