[CentOS] where are all the Redhat 8 -devel packages?

Phil Perry pperry at elrepo.org
Thu Jul 4 06:36:41 UTC 2019


On 04/07/2019 03:12, Florin Andrei wrote:
> I'm probably missing something really simple.
> 
> I've installed an RH8 IAM in AWS and I'm trying to build packages on it. 
> I've noticed there are many *-devel packages that I cannot install:
> 
> ########################################
> [ec2-user at site1-vpn ~]$ sudo yum install trousers-devel
> Last metadata expiration check: 1:10:41 ago on Thu 04 Jul 2019 01:01:14 
> AM UTC.
> No match for argument: trousers-devel
> Error: Unable to find a match
> ########################################
> 
> However, if I download trousers-0.3.14-2.el8.src.rpm from Redhat and I 
> build it on my RH8 instance, it builds the -devel package:
> 
> ########################################
> Wrote: /home/ec2-user/rpmbuild/RPMS/x86_64/trousers-0.3.14-2.el8.x86_64.rpm
> Wrote: 
> /home/ec2-user/rpmbuild/RPMS/x86_64/trousers-lib-0.3.14-2.el8.x86_64.rpm
> Wrote: 
> /home/ec2-user/rpmbuild/RPMS/x86_64/trousers-static-0.3.14-2.el8.x86_64.rpm
> Wrote: 
> /home/ec2-user/rpmbuild/RPMS/x86_64/trousers-devel-0.3.14-2.el8.x86_64.rpm
> Wrote: 
> /home/ec2-user/rpmbuild/RPMS/x86_64/trousers-debugsource-0.3.14-2.el8.x86_64.rpm 
> 
> Wrote: 
> /home/ec2-user/rpmbuild/RPMS/x86_64/trousers-debuginfo-0.3.14-2.el8.x86_64.rpm 
> 
> Wrote: 
> /home/ec2-user/rpmbuild/RPMS/x86_64/trousers-lib-debuginfo-0.3.14-2.el8.x86_64.rpm 
> 
> ########################################
> 
> Same issue for json-c and json-c-devel and other packages.
> 
> What's going on, what is the little detail I'm totally missing?
> 
> I've checked the repositories in yum, I think everything important is 
> enabled.
> 

You want to enable the codeready-builder repository to install 
trousers-devel. It's in there, along with other -devel packages you are 
probably looking for. See:

https://developers.redhat.com/blog/2018/11/15/introducing-codeready-linux-builder/

Hope that helps.

Phil



More information about the CentOS mailing list