Skip to Main Content

Infrastructure Software

Announcement

Testing banner

How to install Python 3.9 on Solaris 11

User_GGFT0Sep 17 2022 — edited Sep 18 2022

How can I install Python 3.9 on Solaris 11.4 AMD64?
I have tried the following, but it fails:

$ pkg install pkg:/runtime/python-39
Failed to set locale: unsupported locale setting.  Falling back to C.
pkg: Unable to set locale 'en_US.UTF-8'; locale package may be broken or
not installed.  Reverting to C locale.
Creating Plan (Solver setup): -
pkg install: No matching version of runtime/python-39 can be installed:
  Reject:  pkg://solaris/runtime/python-39@3.9.4-11.4.42.0.0.111.0
  Reason:  No version matching 'require' dependency database/sqlite-3@3.35.5-11.4.42.0.0.109.0 can be installed
    ----------------------------------------
    Reject:  pkg://solaris/database/sqlite-3@3.35.5-11.4.42.0.0.111.0
    Reason:  No version matching 'require' dependency library/readline@8.1-11.4.42.0.0.109.0 can be installed
      ----------------------------------------
      Reject:  pkg://solaris/library/readline@8.1-11.4.42.0.0.111.0
      Reason:  No version matching 'require' dependency system/library@11.4-11.4.42.0.0.109.1 can be installed
        ----------------------------------------
        Reject:  pkg://solaris/system/library@11.4-11.4.42.0.0.111.1
        Reason:  No version matching 'require' dependency service/system/sstore@11.4-11.4.42.0.0.111 can be installed
          ----------------------------------------
          Reject:  pkg://solaris/service/system/sstore@11.4-11.4.42.0.0.111.1
          Reason:  No version matching 'require' dependency shell/bash@5.1.8-11.4.42.0.0.110.0 can be installed
            ----------------------------------------
            Reject:  pkg://solaris/shell/bash@5.1.12-11.4.42.0.0.111.0
            Reason:  No version matching 'require' dependency system/library@11.4-11.4.42.0.0.109.1 can be installed
            Reason:  This version is excluded by installed incorporation consolidation/userland/userland-incorporation@11.4-11.4.0.0.1.14.0
            ----------------------------------------
          Reason:  This version is excluded by installed incorporation consolidation/osnet/osnet-incorporation@11.4-11.4.0.0.1.15.0
          ----------------------------------------
        Reason:  This version is excluded by installed incorporation consolidation/osnet/osnet-incorporation@11.4-11.4.0.0.1.15.0
        ----------------------------------------
      Reason:  This version is excluded by installed incorporation consolidation/userland/userland-incorporation@11.4-11.4.0.0.1.14.0
      ----------------------------------------
    Reason:  This version is excluded by installed incorporation consolidation/userland/userland-incorporation@11.4-11.4.0.0.1.14.0
    ----------------------------------------

Some information about my system:

$ isainfo
amd64 i386
$ isainfo -n
amd64
$ isainfo -v
64-bit amd64 applications
        avx xsave pclmulqdq aes sse4_2 sse4_1 ssse3 popcnt tscp ahf
        cx16 sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu
32-bit i386 applications
        avx xsave pclmulqdq aes sse4_2 sse4_1 ssse3 popcnt tscp ahf
        cx16 sse3 sse2 sse fxsr mmx cmov sep cx8 tsc fpu
$
$
$ uname -a        # Note the isainfo output above
SunOS localhost 5.11 11.4.0.15.0 i86pc i386 i86pc
$
$
$ pkg publisher
Failed to set locale: unsupported locale setting.  Falling back to C.
pkg: Unable to set locale 'en_US.UTF-8'; locale package may be broken or
not installed.  Reverting to C locale.
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://pkg.oracle.com/solaris/release/
$
$
$ pkg info entire
Failed to set locale: unsupported locale setting.  Falling back to C.
pkg: Unable to set locale 'en_US.UTF-8'; locale package may be broken or
not installed.  Reverting to C locale.
          Name: entire
       Summary: Incorporation to lock all system packages to the same build
   Description: This package constrains system package versions to the same
                build.  WARNING: Proper system update and correct package
                selection depend on the presence of this incorporation.
                Removing this package will result in an unsupported system.
      Category: Meta Packages/Incorporations
         State: Installed
     Publisher: solaris
       Version: 11.4 (Oracle Solaris 11.4.0.0.1.15.0)
        Branch: 11.4.0.0.1.15.0
Packaging Date: Fri Aug 17 00:42:03 2018
          Size: 2.53 kB
          FMRI: pkg://solaris/entire@11.4-11.4.0.0.1.15.0:20180817T004203Z
Comments
Post Details
Added on Sep 17 2022
4 comments
201 views