Accessing rpms in RHSC

Latest response

We currently have the following subscriptions available:
Red Hat Beta
dotNET on RHEL Beta (for RHEL Server)
Oracle Java (for RHEL Server)
Red Hat Enterprise Linux Server
dotNET on RHEL (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
Purchased from DELL
I am trying to use packages from Red Hat Software Collections Beta (for RHEL Server) using yum. Specifically

I can view rh-php71 Package that installs PHP 7.1 rpm to download.
https://access.redhat.com/downloads/content/201/ver=1/rhel---7.4/1/x86_64/packages
And if that is what I need to do I'll try it on a VM first then our actual server.

I have tried to use the subscription-manager attach --pool=
with no luck. Either I am not doing something correctly or I do not have access to rh-php71

This is the third post I've tried to resolve and understand this issue.

I've attached screen shots from a client.

Responses

Please follow these steps : and post a screenshot or copy/paste the output here if not succeeded.

try this -

~~ subscription-manager list --available
~~ subscription-manager subscribe --pool=pool_id 
~~ subscription-manager list --consumed
~~ yum repolist all

possible output is ,

~~ rhel-variant-rhscl-7-rpms
or
~~ rhel-beta-variant-rhscl-7-rpms

~~~~~~~~~~~~~~~~~~~~~ - next you have to enable the repo if its disabled, example

~~ yum-config-manager --enable rhel-beta-variant-rhscl-7-rpms  (depends on the output)
  • You also can use the rhn-channel

For more details,

https://access.redhat.com/documentation/en-us/red_hat_software_collections/1/html/1.2_release_notes/chap-installation

Thank you. Here is the output for the live server:

[code]

# subscription-manager list --available
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+


Subscription Name:   Software Collections and Developer Toolset
Provides:            Red Hat Software Collections Beta (for RHEL Workstation)
                     Red Hat Software Collections (for RHEL Workstation)
                     Red Hat Software Collections (for RHEL Server)
                     Red Hat Software Collections Beta (for RHEL Client)
                     Red Hat Software Collections (for RHEL Client)
                     Red Hat Software Collections Beta (for RHEL Server)
                     Red Hat Developer Toolset (for RHEL Workstation)
                     Red Hat Developer Toolset (for RHEL Server)
SKU:                 MCT2883
Contract:            11522259
Pool ID:             8a85f98c5fa1813e015fa1852abe0227
Provides Management: No
Available:           2
Suggested:           1
Service Level:       Layered
Service Type:        L1-L3
Subscription Type:   Standard
Ends:                11/08/2018
System Type:         Physical



[root@tritechsc lab]# subscription-manager subscribe --pool=pool_id
Pool with id pool_id could not be found.



[root@tritechsc lab]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat Enterprise Linux Server, Premium (1-2
                     sockets) (Up to 1 guest) (L3-only)
Provides:            dotNET on RHEL Beta (for RHEL Server)
                     dotNET on RHEL (for RHEL Server)
                     Red Hat Beta
                     Red Hat Software Collections Beta (for RHEL Server)
                     Oracle Java (for RHEL Server)
                     Red Hat Enterprise Linux Server
SKU:                 RH0198364F3
Contract:            11335874
Account:             5884793
Serial:              7229978068251504258
Pool ID:             8a85f9815aba1352015aba8347201c03
Provides Management: No
Active:              True
Quantity Used:       1
Service Level:       Premium
Service Type:        L3
Status Details:      Subscription is current
Subscription Type:   Standard
Starts:              03/09/2017
Ends:                03/09/2020
System Type:         Physical

[root@tritechsc lab]# yum repolist all
Loaded plugins: product-id, search-disabled-repos, subscription-manager
repo id                                                           status
rh-gluster-3-client-for-rhel-7-server-debug-rpms/7Server/x86_64   disabled
rh-gluster-3-client-for-rhel-7-server-rpms/7Server/x86_64         disabled
rh-gluster-3-client-for-rhel-7-server-source-rpms/7Server/x86_64  disabled
rhel-7-server-beta-debug-rpms/x86_64                              disabled
rhel-7-server-beta-rpms/x86_64                                    disabled
rhel-7-server-beta-source-rpms/x86_64                             disabled
rhel-7-server-debug-rpms/7Server/x86_64                           disabled
rhel-7-server-dotnet-beta-debug-rpms/x86_64                       disabled
rhel-7-server-dotnet-beta-rpms/x86_64                             disabled
rhel-7-server-dotnet-beta-source-rpms/x86_64                      disabled
rhel-7-server-dotnet-debug-rpms/7Server/x86_64                    disabled
rhel-7-server-dotnet-rpms/7Server/x86_64                          disabled
rhel-7-server-dotnet-source-rpms/7Server/x86_64                   disabled
rhel-7-server-extras-beta-debug-rpms/x86_64                       disabled
rhel-7-server-extras-beta-rpms/x86_64                             disabled
rhel-7-server-extras-beta-source-rpms/x86_64                      disabled
rhel-7-server-extras-debug-rpms/x86_64                            disabled
rhel-7-server-extras-rpms/x86_64                                  enabled:    681
rhel-7-server-extras-source-rpms/x86_64                           disabled
rhel-7-server-fastrack-debug-rpms/x86_64                          disabled
rhel-7-server-fastrack-rpms/x86_64                                disabled
rhel-7-server-fastrack-source-rpms/x86_64                         disabled
rhel-7-server-insights-3-debug-rpms/x86_64                        disabled
rhel-7-server-insights-3-rpms/x86_64                              disabled
rhel-7-server-insights-3-source-rpms/x86_64                       disabled
rhel-7-server-openstack-10-tools-debug-rpms/7Server/x86_64        disabled
rhel-7-server-openstack-10-tools-rpms/7Server/x86_64              disabled
rhel-7-server-openstack-10-tools-source-rpms/7Server/x86_64       disabled
rhel-7-server-openstack-11-tools-debug-rpms/x86_64                disabled
rhel-7-server-openstack-11-tools-rpms/x86_64                      disabled
rhel-7-server-openstack-11-tools-source-rpms/x86_64               disabled
rhel-7-server-openstack-7.0-tools-debug-rpms/7Server/x86_64       disabled
rhel-7-server-openstack-7.0-tools-rpms/7Server/x86_64             disabled
rhel-7-server-openstack-7.0-tools-source-rpms/7Server/x86_64      disabled
rhel-7-server-openstack-8-tools-debug-rpms/7Server/x86_64         disabled
rhel-7-server-openstack-8-tools-rpms/7Server/x86_64               disabled
rhel-7-server-openstack-8-tools-source-rpms/7Server/x86_64        disabled
rhel-7-server-openstack-9-tools-debug-rpms/7Server/x86_64         disabled
rhel-7-server-openstack-9-tools-rpms/7Server/x86_64               disabled
rhel-7-server-openstack-9-tools-source-rpms/7Server/x86_64        disabled
rhel-7-server-optional-beta-debug-rpms/x86_64                     disabled
rhel-7-server-optional-beta-rpms/x86_64                           disabled
rhel-7-server-optional-beta-source-rpms/x86_64                    disabled
rhel-7-server-optional-debug-rpms/7Server/x86_64                  disabled
rhel-7-server-optional-fastrack-debug-rpms/x86_64                 disabled
rhel-7-server-optional-fastrack-rpms/x86_64                       disabled
rhel-7-server-optional-fastrack-source-rpms/x86_64                disabled
rhel-7-server-optional-rpms/7Server/x86_64                        enabled: 12,925
rhel-7-server-optional-source-rpms/7Server/x86_64                 disabled
rhel-7-server-rh-common-beta-debug-rpms/x86_64                    disabled
rhel-7-server-rh-common-beta-rpms/x86_64                          disabled
rhel-7-server-rh-common-beta-source-rpms/x86_64                   disabled
rhel-7-server-rh-common-debug-rpms/7Server/x86_64                 disabled
rhel-7-server-rh-common-rpms/7Server/x86_64                       disabled
rhel-7-server-rh-common-source-rpms/7Server/x86_64                disabled
rhel-7-server-rhceph-1.3-tools-debug-rpms/7Server/x86_64          disabled
rhel-7-server-rhceph-1.3-tools-rpms/7Server/x86_64                disabled
rhel-7-server-rhceph-1.3-tools-source-rpms/7Server/x86_64         disabled
rhel-7-server-rhceph-2-tools-debug-rpms/7Server/x86_64            disabled
rhel-7-server-rhceph-2-tools-rpms/7Server/x86_64                  disabled
rhel-7-server-rhceph-2-tools-source-rpms/7Server/x86_64           disabled
rhel-7-server-rhn-tools-beta-debug-rpms/x86_64                    disabled
rhel-7-server-rhn-tools-beta-rpms/x86_64                          disabled
rhel-7-server-rhn-tools-beta-source-rpms/x86_64                   disabled
rhel-7-server-rhn-tools-debug-rpms/7Server/x86_64                 disabled
rhel-7-server-rhn-tools-rpms/7Server/x86_64                       disabled
rhel-7-server-rhn-tools-source-rpms/7Server/x86_64                disabled
rhel-7-server-rpms/7Server/x86_64                                 enabled: 17,474
rhel-7-server-satellite-maintenance-6-debug-rpms/x86_64           disabled
rhel-7-server-satellite-maintenance-6-rpms/x86_64                 disabled
rhel-7-server-satellite-maintenance-6-source-rpms/x86_64          disabled
rhel-7-server-satellite-tools-6-beta-debug-rpms/x86_64            disabled
rhel-7-server-satellite-tools-6-beta-rpms/x86_64                  disabled
rhel-7-server-satellite-tools-6-beta-source-rpms/x86_64           disabled
rhel-7-server-satellite-tools-6.1-debug-rpms/x86_64               disabled
rhel-7-server-satellite-tools-6.1-rpms/x86_64                     disabled
rhel-7-server-satellite-tools-6.1-source-rpms/x86_64              disabled
rhel-7-server-satellite-tools-6.2-debug-rpms/x86_64               disabled
rhel-7-server-satellite-tools-6.2-rpms/x86_64                     disabled
rhel-7-server-satellite-tools-6.2-source-rpms/x86_64              disabled
rhel-7-server-source-rpms/7Server/x86_64                          disabled
rhel-7-server-supplementary-beta-debug-rpms/x86_64                disabled
rhel-7-server-supplementary-beta-rpms/x86_64                      disabled
rhel-7-server-supplementary-beta-source-rpms/x86_64               disabled
rhel-7-server-supplementary-debug-rpms/7Server/x86_64             disabled
rhel-7-server-supplementary-rpms/7Server/x86_64                   disabled
rhel-7-server-supplementary-source-rpms/7Server/x86_64            disabled
rhel-7-server-thirdparty-oracle-java-beta-rpms/x86_64             disabled
rhel-7-server-thirdparty-oracle-java-beta-source-rpms/x86_64      disabled
rhel-7-server-thirdparty-oracle-java-rpms/7Server/x86_64          disabled
rhel-7-server-thirdparty-oracle-java-source-rpms/7Server/x86_64   disabled
rhel-7-server-v2vwin-1-debug-rpms/7Server/x86_64                  disabled
rhel-7-server-v2vwin-1-rpms/7Server/x86_64                        disabled
rhel-7-server-v2vwin-1-source-rpms/7Server/x86_64                 disabled
rhel-server-rhscl-7-beta-debug-rpms/x86_64                        disabled
rhel-server-rhscl-7-beta-rpms/x86_64                              enabled:      0
rhel-server-rhscl-7-beta-source-rpms/x86_64                       enabled:      0
repolist: 31,080
[root@tritechsc lab]# 
[/code]

As I thought you have to enable the repositories now

subscription-manager subscribe --pool=8a85f98c5fa1813e015fa1852abe0227
subscription-manager list --consumed
yum repolist all

according to the output,

rhel-server-rhscl-7-beta-rpms/x86_64                              enabled:     0

That means rhscl 7 beta rmps repository doesn't contain any packages. Try enabling these repositories.

yum-config-manager --enable rhel-7-server-supplementary-beta-rpms/x86_64
yum-config-manager --enable rhel-7-server-beta-rpms/x86_64
yum-config-manager --enable rhel-7-server-extras-beta-rpms/x86_64
yum-config-manager --enable rhel-7-server-optional-beta-rpms/x86_64
yum repolist all
yum search rh-php*

Also share the output

No, he wants you to type:

subscription-manager subscribe --pool=8a85f98c5fa1813e015fa1852abe0227

8a85f98c5fa1813e015fa1852abe0227 is the pool ID from the Software Collections subscription that "subscription-manager list --available" output.

got it! Thanks for your professionalism! yum-config-manager --enable rhel-server-rhscl-7-rpms

# yum search rh-php71
Loaded plugins: product-id, search-disabled-repos, subscription-manager
============================================================================================ N/S matched: rh-php71 =============================================================================================
rh-php71-runtime.x86_64 : Package that handles rh-php71 Software Collection.
rh-php71-scldevel.x86_64 : Package shipping development files for rh-php71
rh-php71.x86_64 : Package that installs PHP 7.1
rh-php71-php.x86_64 : PHP scripting language for creating dynamic web sites
rh-php71-php-bcmath.x86_64 : A module for PHP applications for using the bcmath library
rh-php71-php-cli.x86_64 : Command-line interface for PHP
rh-php71-php-common.x86_64 : Common files for PHP
rh-php71-php-dba.x86_64 : A database abstraction layer module for PHP applications
rh-php71-php-dbg.x86_64 : The interactive PHP debugger
rh-php71-php-devel.x86_64 : Files needed for building PHP extensions
rh-php71-php-embedded.x86_64 : PHP library for embedding in applications
rh-php71-php-enchant.x86_64 : Enchant spelling extension for PHP applications
rh-php71-php-fpm.x86_64 : PHP FastCGI Process Manager
rh-php71-php-gd.x86_64 : A module for PHP applications for using the gd graphics library
rh-php71-php-gmp.x86_64 : A module for PHP applications for using the GNU MP library
rh-php71-php-intl.x86_64 : Internationalization extension for PHP applications
rh-php71-php-json.x86_64 : JavaScript Object Notation extension for PHP
rh-php71-php-ldap.x86_64 : A module for PHP applications that use LDAP
rh-php71-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
rh-php71-php-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases
rh-php71-php-odbc.x86_64 : A module for PHP applications that use ODBC databases
rh-php71-php-opcache.x86_64 : The Zend OPcache
rh-php71-php-pdo.x86_64 : A database access abstraction module for PHP applications
rh-php71-php-pear.noarch : PHP Extension and Application Repository framework
rh-php71-php-pecl-apcu.x86_64 : APC User Cache
rh-php71-php-pecl-apcu-devel.x86_64 : APCu developer files (header)
rh-php71-php-pgsql.x86_64 : A PostgreSQL database module for PHP
rh-php71-php-process.x86_64 : Modules for PHP script using system process interfaces
rh-php71-php-pspell.x86_64 : A module for PHP applications for using pspell interfaces
rh-php71-php-recode.x86_64 : A module for PHP applications for using the recode library
rh-php71-php-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices
rh-php71-php-soap.x86_64 : A module for PHP applications that use the SOAP protocol
rh-php71-php-xml.x86_64 : A module for PHP applications which use XML
rh-php71-php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol
rh-php71-php-zip.x86_64 : ZIP archive management extension for PHP


glad that helped you. :)
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.