File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 3333dnf config-manager --set-enabled powertools || exit 1
3434# Update system packages AND install build tools in one transaction
3535# This ensures glibc and gcc versions are compatible
36+ # Note: python39 is required because re2c needs Python 3.7+, and Rocky 8 defaults to Python 3.6
3637yum update -y && yum install -y \
3738 gcc \
3839 gcc-c++ \
4647 lua-filesystem \
4748 lua-posix \
4849 Lmod \
49- python3 \
50- python3 -pip \
50+ python39 \
51+ python39 -pip \
5152 which \
5253 patch \
5354 xz \
5758 kernel-headers \
5859 lbzip2 \
5960 sssd-client
61+ # Set python3.9 as the default python3 (re2c and other tools need Python 3.7+)
62+ alternatives --set python3 /usr/bin/python3.9
6063yum clean all && rm -rf /var/cache/yum
6164PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install boto3
6265"""
You can’t perform that action at this time.
0 commit comments