株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

[root@controller01 ~]# sudo alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 110
[root@controller01 ~]# sudo alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 120
[root@controller01 ~]# alternatives  --list
ebtables                auto    /usr/sbin/ebtables-nft
ld                      auto    /usr/bin/ld.bfd
man.7.gz                auto    /usr/share/man/man7/man.man-pages.7.gz
arptables               auto    /usr/sbin/arptables-nft
cifs-idmap-plugin       auto    /usr/lib64/cifs-utils/cifs_idmap_sss.so
man                     auto    /usr/bin/man.man-db
libnssckbi.so.x86_64    auto    /usr/lib64/pkcs11/p11-kit-trust.so
soelim                  auto    /usr/bin/soelim.groff
python3                 auto    /usr/bin/python3.12
iptables                auto    /usr/sbin/iptables-nft
[root@controller01 ~]# sudo alternatives --config python3

There are 2 programs which provide 'python3'.

  Selection    Command
-----------------------------------------------
   1           /usr/bin/python3.10
*+ 2           /usr/bin/python3.12

Enter to keep the current selection[+], or type selection number: 2
[root@controller01 ~]#

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)